View Single Post
  #14  
Old November 17th, 2009, 03:00 AM posted to microsoft.public.access.forms
Scott_Brasted via AccessMonster.com
external usenet poster
 
Posts: 49
Default Using a Combo Box to Find Records

Jeanette,

I took out the line: Call cboMoveTo_AfterUpdate a while ago because it turned
red in the code window and caused an error. The cbo still shows blank and I
get the error mentioned above with the code I posted above with the error
message posted above.

Best,
Scott

Jeanette Cunningham wrote:
Hi Scott,
I assume that the combo now correctly shows the first item on its list after
the form loads?
The error message comes when the next line of code runs
Call cboMoveTo_AfterUpdate


Is this what happens?
If the answer is yes, just comment out the line of code
Call cboMoveTo_AfterUpdate

and see how that goes.

That line of code was put in to simulate the user clicking the combo to
finding the records that match the SetupID for the first item on the list.
You may not need to do this.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

Jeanette,

[quoted text clipped - 48 lines]
Thanks,
Scott


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200911/1