Reset comboxbox so that paremeter query can be re-run with a new parameter.

wehoscottward

Registered User.
Local time
Today, 00:51
Joined
Aug 30, 2013
Messages
36
Hello. I have a comboxbox that runs a parameter query when the user clicks on the combobox. The combobox works great and generates a dropdown list of all records that matche's the query paremeter. Now I want the user to click on a command button that resets the combobox so that the user can enter another parameter.

Me.Combobox2.RowSource = ""
Me.Combobox2.Value = Null

Any help here would be appreciated. Many thanks.
 
How about:
Me.Combobox2=""
This will clear the text area of drop-down
 
Actually, what worked for me is:

Me.Combobox2.Value = Null
Me.Combobox2.Requery

Thanks.
 

Users who are viewing this thread

Back
Top Bottom