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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you add a drop down box to a query

Status
Not open for further replies.

vince99

IS-IT--Management
Mar 1, 2001
63
US
Is there a way of adding a drop don box to a query in order to select criteria?


Thanks
 
Hi,

No there isn't any way to put a listbox in a query. Normally, you would have a form that has a lsitbox with the cirteria in it so the user can select it and then run the query.

Another way is to insert into the query a reference to the listbox on a form whcih contains the criteria you wsh to use.

Another way is to build an SQL string from values selected in a various listboxes and then run the SQL statement.

Have a good one!
BK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top