Parameter querry with dropdown????

B

Bill Lambry

Is it possible to create a parameter query that utilizes a
drop down for selection of parameter.

Similar to using a lookup in a table? And if this is
possible how would one implement this, VBA?

TIA
 
B

Brendan Reynolds

You need to use a form with a combo box for that. In the query, refer to the
combo box like so ...

SELECT * FROM SomeTable WHERE SomeField = Forms!SomeForm!SomeCombo

The form must, of course, be open when the query runs.
 

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