-
WSstevehocking
AskWoody LoungerThanks for the response.
As you may have gathered I am very much a novice and learning ‘on the hoof’ so to speak. In the first part of your answer you said use a simple If statement, would this be an event procedure, and if so where shoud it go. Once I know I will play about and try to write something and then shout help when it fails badly!!.
Thanks
Steve
-
WSstevehocking
AskWoody LoungerIs this what you are looking for? it is by Getz and automatically finds all printers on a PC.
Steve
-
WSstevehocking
AskWoody LoungerThanks Willy
Steve
-
WSstevehocking
AskWoody LoungerThnaks Jordan, a little more help though please. I assume that this should go in the EventProcedure for After update but nothing happens when I put in a false number, I then tried it OnExit with a false number but it just carried on. I am obviously doing something wrong but could you tell me what.
Thanks
Steve
-
WSstevehocking
AskWoody LoungerHi Charlotte
Thanks for spareing the time to help. I have the combobox set to lookup all of the records from my Customers table but only have it set so that when the combobox is clicked only the CompanyName shows up (o”;1″;0″ etc.). I have then placed text boxes on the form, the first of which is called CompanyName. My expectation was that one I picked the CustomerName from the combo box all of these other fields would be populated.
To try not to bother you I opened the N/W db but on all of the forms the only one with a combo is the ‘orders’ form, however the afterupdate event is nothing like what I was trying to do. I copied this piece of code though and then named boxes appropriately on a new form and even that did not work.
If you could tell me which form in N/W this example is in so I can try to solve it.
TIA
Steve
-
WSstevehocking
AskWoody LoungerHi Charlotte,
Thanks for the quick response. I think I was getting the error because I left the . out between rst and findfirst. However even though I am now not getting the error message nothing seems to happen, perhaps I am expecting the wrong thing.
To try this out I made a form based on my Customer table and in the header info put the combo box and named it cboMoveTo and then put the code into the AfterUpdate Property.
What I expected was that when I selected a name from the cboMoveTo the rest of the fields would be completed on the form.
Is that right or am I missing the point of it.
TIA
Steve
-
WSstevehocking
AskWoody LoungerI think I read somewhere the other day that there are 3 examples of this in the Northwind database, I don’t have time to look right now but if I find anything I will let you know later.
Steve
-
WSstevehocking
AskWoody LoungerEven as you typed it Charlotte I imagine a frightening thought running through your head “That idiot is going to try this isn’t he?).
I assume, hopefully correctly, that this code would go in the ‘OnClick’ event procedure?
If so, I have done this and faithfully reproduced word for word what you have written, I have checked it about 5 times and even come back here and copied and pasted it into the event procedure. But sadly when I click my button, nothing.
I have read here many times that you should use the Debug and Compile feature so I have done that and get a Compile Error “Member already exists in an object Module from which this object Module derives”.
Sorry to try your patience but please tell me what this Country Bumpkin has done wrong, thanks.
Steve
-
WSstevehocking
AskWoody LoungerThanks a milion Wendell
I had missed the point about the command button, I assumed that just making the box a combo would trigger the query when I selected on of the items.
Cheers
Steve
-
WSstevehocking
AskWoody LoungerThanks for your help so far, I have spent the last fee days trying everything to get this to work but can’t seem to grasp it, if you have a moment would you kindly look at the attachment and tell me where I have gone wrong.
TIA
Steve
-
WSstevehocking
AskWoody LoungerHi
Thanks for the response, but probably due to my inexperience I am having trouble with this, I raised the form and simply called it frmGoods with a combo box cboGoods. In the SQL query however I cannot seem to get it to reference to this combo, I have tried several things, and the latest is below
SELECT frmGoods.cboGoods, tblRates.Origin, tblRates.Destination, tblRates.Rate
FROM frmGoods, tblRates
WHERE ((((frmGoods.cboGoods)=[Please Select Goods]) AND (((tblRates.Origin)=[Origin of Goods]) AND ((tblRates.Destination)=[Destination of Goods]));Any pointers greatly appreciated
TIA
Steve
-
WSstevehocking
AskWoody LoungerThanks Francois
But where do I put this (think carefully before you type something you shouldn’t). I made the assumption that it was above and below the original code in my NotInList event procedure but it doesn’t seem to work.
It lets me type in the false part without a query but when I type in the True part it says it is looking for an arguement.
Any ideas please
Steve
-
WSstevehocking
AskWoody LoungerSeptember 3, 2001 at 6:11 am in reply to: Need an easy way to open another DB from Current o (A2k SR-1) #540334You could always insert a hyperlink that points to the other DB
Steve
-
WSstevehocking
AskWoody LoungerThank you so much Francois
I am going out today to buy a cap so that I can ‘doff’ it to all you people that spare us mere mortals your time and expertise.
I noticed that creating the message box disabled the MS message box so I experimented and before my requery line added another message box along the lines of “Now please select the new account from the drop down box” which worked fine but the MS box saying a similar thing still appears, is that easy to get rid off or am I in above my Wellington boots.
Thanks
Steve
-
WSstevehocking
AskWoody LoungerEureka, the idiot finally got it
Thanks Mark, I assumed that Access always called a combo box cbo on its own, obviously I need to read more on naming conventions. It works a treat now.
As I can’t get you a beer I will have a nice cold Tiger beer in a sleazy bar in your honour tonight.
If you ever get stuck and need help shipping infectious research samples anywhere, I’m your man!!
Thanks again
Steve
![]() |
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
-
0Patch, where to begin
by
cassel23
2 hours, 2 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
5 hours, 1 minute ago -
89 million Steam account details just got leaked,
by
Alex5723
13 hours, 26 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
13 hours, 34 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
4 hours, 32 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
6 hours, 56 minutes ago -
Installer program can’t read my registry
by
Peobody
6 hours, 32 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 hours, 20 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
9 hours, 40 minutes ago -
False error message from eMClient
by
WSSebastian42
1 day ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 9 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 10 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
7 hours, 35 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 14 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
15 hours, 32 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 19 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 1 hour ago -
Another big Microsoft layoff
by
Charlie
2 days, 1 hour ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
1 hour, 46 minutes ago -
May 2025 updates are out
by
Susan Bradley
17 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 7 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 7 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 6 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
3 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 8 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 15 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 16 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 day ago -
No HP software folders
by
fpefpe
2 days, 23 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.