Returning all values in parameter query?

G

Guest

I have a parameter query that looks at a combo box for a list of values in
Access 2000. I want the query to return all the records if "All" is selected
in the combo box. Is this possible?
 
J

John Vinson

I have a parameter query that looks at a combo box for a list of values in
Access 2000. I want the query to return all the records if "All" is selected
in the combo box. Is this possible?

Use a criterion of

=[Forms]![YourForm]![YourCombo] OR [Forms]![YourForm]![YourCombo] =
"All"


John W. Vinson[MVP]
 
G

Guest

Thanks - that did it!!

John Vinson said:
I have a parameter query that looks at a combo box for a list of values in
Access 2000. I want the query to return all the records if "All" is selected
in the combo box. Is this possible?

Use a criterion of

=[Forms]![YourForm]![YourCombo] OR [Forms]![YourForm]![YourCombo] =
"All"


John W. Vinson[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