Create a form not linked to any table (AKA unbound form) named frmSearch. On
this form put a combo box named something cboSearch. Make the record source
for the combo box a query or list that has the search terms. Also put a
button on the form that will run the query. The Command Button wizard will
guide you through it under Miscellaneous, Run Query.
In the query put the following in the appropriate criteria box:
[Forms]![frmSearch]![cboSearch].[Value]
You select something from the combo box on the form and then run the query.
The form needs to stay open; however, it could be minimized or even hidden.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
JohnW said:
I would like to add a drop down list from data in a table to a query so when
the query is ran the user can use the drop down list to select an item for
the query to search by.
Thanks