Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dymanic query from combo box

Status
Not open for further replies.

01jeffro

Technical User
Jun 11, 2001
8
US
I am a relativly new user who wants a query requirement to be what the user chooses in a combo box. Any help?
Thanks, Jeffro
 
The most straightforward way to do it is to dynamically create your SQL query in code after the user makes a selection from the combo box. I'll show you how in a minute
 
In the query criteria field type in:

[Forms]![FormName]![Comboboxname]

This will set the criteria of the query based on whatever is chosen in the combo box.

Brad
 
Thanks a bunch! That is suprisingly simple.
Cheers, Jeffro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top