drop down list in query

S

Sasha

hi

i hv to write a query which filters data on two criteria.
since criterion 1 contains 139 distinct names and
criterion 2 contains 463 distinct names, i would like to
provide a drop down list from which the user selects the
criteria. how do i go about it?

thnx

sasha
 
H

Howard Brody

Put 2 ComboBoxes on a form, one for each of the criteria
items, and a CommandButton to run the query. In the query
itself, reference the two ComboBoxes in the criteria lines
for the appropriate fields.

Hope this helps!

Howard Brody
 
S

Sasha

Hi Howard...

thnx..it works!!

Sasha
-----Original Message-----
Put 2 ComboBoxes on a form, one for each of the criteria
items, and a CommandButton to run the query. In the query
itself, reference the two ComboBoxes in the criteria lines
for the appropriate fields.

Hope this helps!

Howard Brody


.
 

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