how to use combo box to set criteria for query

L

lonell

how can i use a combo box to set the criteria for my query
instead of using the Like[Enter it here] function that
requires the user to enter the field to filter by and
leaves too much room for error?
 
J

Jeff Boyce

Lonell

Create a form with the combo box based on your narrowed selection criterion.

Modify your query to include a reference to the combo box on the form as the
criterion -- something like:

Forms!YourFormName!YourComboBoxName

Modify the form to include a command button that runs the query.

Good luck

Jeff Boyce
<Access MVP>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top