-
WSbfxtrfcmgr
AskWoody LoungerBoy, what an adventure! It’s difficult enough stumbling around in the jungle watching for snakes, but doing it without a compass is nearly impossible!
I went back and looked at the tblMaster where the forms get their data and discovered (as you have pointed out) that the Release1No is, indeed, a text field. I also discovered, as I was about to change it to a numeric field, that this number is given to us by the shipper and “may” contain text as well; whereas the ProNo is an in-house number (auto). The field “name” is misleading (as you also pointed out) and I am considering changing it, but it is used in so many different references that it may not be worth the effort.
I have learned a few valuable lessons here. Naming conventions can be (are) critical to the reading of code, both for the user and the creator. I have purchased several books on Access and, recently, VBA; but having the text doesn’t necessarily mean that you will even be able to locate the answers (it’s a big jungle). I am discovering the value of being able to write code, and obviously the dismay associated with what only appear as “minor” errors. I am most grateful for resolving the problem, but even more so for having learned something new that I can take with me into the jungle.
I don’t want to get all emotional here, but this is one VERY grateful newbie. Not only were you willing to address the immediate problem, but were willing to go the extra mile in explaining the code. Thanks for providing a compass!
-
WSbfxtrfcmgr
AskWoody LoungerI FIXED IT
Thanks for your input! (please see thread) -
WSbfxtrfcmgr
AskWoody LoungerI FIXED IT!
Original code:
stLinkCriteria = ” [Release1No] = ” & Me ! [Release1No]Modified:
stLinkCriteria = ” [Release1No] = ” & ” ‘ ” & Me ! [Release1No] & ” ‘ ”Before anyone thinks I’m a 52 year-old “boy” genious, I stole the code from the cmdButton. The only problem I have now is that I don’t know why the modified code works. I have corrected the problem, but I haven’t learned anything (other than how to “steal” code). I very much appreciate your input (especially concerning “Dirty”), would you mind explaining why the modified code works? Also, if you would be so kind, why the original code works just fine for ProNo_DblClick, but not for Release1No_DblClick? Should I also change the code for ProNo_DblClick (even though it IS working just fine)?
Thanks again for your generousity!
-
WSbfxtrfcmgr
AskWoody LoungerThe “ProNo” and “Release1No” are assigned at the time of order entry and should never be editied by the operator (if that makes any difference). The ProNo is an autonumber field and the Release1No never changes after the original entry. Not being real certain of what I’m doing here, I tried a little experiment:
I kept the code for “Release1No_DblClick” the same except I changed the stDocName to “frmBillOut” (seeing as that form opens without any problem from “ProNo_DblClick”). I get the same error message as before.
I changed the code back to what it originally was, added a cmdButton for frmOrderDetail, and it works just fine.
I suppose I can live with the cmdButton, but it’s inconsistant with the way operators attain information with other forms. The DblClick function is the way things are normally done. Also, and seeing as I AM a newbie, I want to understand what’s going wrong so I can gain some knowledge here. I just don’t get why a cmdButton (applied using a wizard) would work just fine, but the DblClick would fail; and especially in light of the fact that the dblClick from “ProNo” also works just fine when opening frmBillOut. I actually thought that David was on to something when he asked about the properties for frmOrderDetail, but seeing as it works just fine from the cmdButton, I’m not so sure that’s the issue either.
-
WSbfxtrfcmgr
AskWoody LoungerThanks Hans, it didn’t fix the current problem but I now understand how important that “Dirty” issue could be. As a newbie to VBA, I appreciate every bit of guidance.
-
WSbfxtrfcmgr
AskWoody LoungerThere are no event properties for frmOrderDetail
-
WSbfxtrfcmgr
AskWoody LoungerThanks Drew! I finally got around to reviewing it. Very helpful for a newbie!
-
WSbfxtrfcmgr
AskWoody Lounger…and still maintaining a good sense of humor. Gotta love that!
-
WSbfxtrfcmgr
AskWoody LoungerSorry, I didn’t mean to offend any of my peers!
Thanks for the forum tip; I will do so in the future. -
WSbfxtrfcmgr
AskWoody LoungerI really didn’t “inherit” it so much as it inherited me, I guess. The company I was working for went out of business, and I was offered some of the old equipment at “bargain” prices a few weeks later. Everything had kind of been piled up in one room with boxes of towers, keyboards, monitors, printers, etc. I really was looking to see if the old server was still around or maybe some of the later model PC’s, but most of the “good” stuff had been liquidated. I ended up taking a box that had two towers (one with a tape drive), a bunch of cable, and at the bottom a bunch of loose floppies, manuals, and CD’s. I was going to pull everything out and just dump it into another box, but the cables were all tangled up with everything and there were no empty boxes anyway – so I took the whole thing home to clean out there. It sat in the corner of my home office for 2 weeks before I started going through it all.
At the very bottom of the box, under all the manuals and scattered floppies was this UN-OPENED box labled “XP Developer”. I didn’t even know what it was. I opened it up and find 7 CD’s inside with things like Media Content, SQL Server, Exchange 2000, Visual SouceSafe, Developer, and Office XP w/FrontPage. I didn’t know what the other stuff was, but I knew what Office XP was and I got, well, a bit giddy. Really, I was like a kid on Christmas morning. Why? Because when I got there I found out that they weren’t taking any checks and I only had $47.00 in cash on me. I knew the tape drive was well worth the money (even though its rather dated) so they took what I had on me just to get rid of the “garbage”.
Sorry I rambled on so long, but it’s rare that I encounter such good fortune, and felt a need to share with someone who could appreciate the story (my daughters just looked at me blankly and said: “That’s nice”). Anyway, now I feel somehow obligated to learn VBA so as not to jinx the genie in the bottle so to speak.
-
WSbfxtrfcmgr
AskWoody LoungerThanks again Hans! (Please see previous)
-
WSbfxtrfcmgr
AskWoody LoungerThanks! I suppose if I’m going to get anywhere with this VBA lesson, I’m going to have to get away from the “point and click” mentality. At 52 it’s even difficult getting past the “…old dog, new tricks.” syndrome. I managed to inherit XP Developer, which got me interested in this whole VBA thing to begin with. Having Developer, with my level of expertise, is a little like giving a Ferrari to a 13 year-old, but, what the hell; I’m willing to give it a shot!
-
WSbfxtrfcmgr
AskWoody LoungerOption Explicit was not checked, and even when I changed it in Options it did not appear in that module. I opened a new module and it DID appear. I went back and re-created the subs from the lesson and everything is working fine now. I suppose you can’t change the options in an active module once the routine has been entered? Anyway, thanks for getting me back on course. BTW, I went back to the original module and just deleated the text “Option Compare Database” and entered the text from the lesson, and the routine worked there as well (although it isn’t Option Explicit). Thanks again for your help.
-
WSbfxtrfcmgr
AskWoody LoungerSorry I missed your last post, but I was on my way out the door.
I’m in California and noticed that you were “down under”. As a fan of Fosters, I made the offer if you ever were out this way.
I’m a “newbie” to Access as far as doing any developement, but managed to “inherit” the Office XP Developers Version. Of course I don’t even know what I’ve got yet, but I did manage to get up the gumption to buy a copy of Beginning VBA. I can’t even remember how I found this site but I sure have enjoyed the exchanges and generous helps. There are some very compationate and helpful people here that put aside ego to assist those who are just trying to get started. That’s pretty rare in any forum. You’re a prime example of what I mean. What was probably a very simple matter to you had become a great source of frustration to me. It seems that MS sells their products with vague or limited documentation and just says “good luck”. People are left staring at the screen with their finger poised over the mouse not wondering where they “want to go today”, but rather how to get there. If not for friendly users, I’d never get to the first “click”. When I say “thank you” for your help, it’s really much bigger than the words can say. -
WSbfxtrfcmgr
AskWoody LoungerYou did it John! It works great!
Thanks again for all your help!
If you ever make it to the colonies, I owe you a Fosters or two, or three, or…
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
2 hours, 27 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
12 hours, 47 minutes ago -
Office apps read-only for family members
by
b
15 hours, 23 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
12 hours, 15 minutes ago -
24H2??
by
CWBillow
2 hours, 27 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
1 day ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
18 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
12 hours, 12 minutes ago -
two pages side by side land scape
by
marc
2 days, 13 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 15 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 18 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 20 hours ago -
April 2025 updates out
by
Susan Bradley
1 hour, 54 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 14 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 4 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 6 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
18 hours, 55 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 10 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 13 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 15 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 13 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 6 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 13 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 19 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
12 hours, 20 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 3 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 11 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 11 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 20 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
5 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.