Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create 2 filters in a query

Status
Not open for further replies.

Rosannafe

Technical User
May 22, 2002
9
US
I have a query that used to filter clients by the dates they arrived for services. Now I would like to filter by the dates and the person who saw the client, but when I try it, all it does is print out all the clients within the two dates and replaces the person who actually saw them with the person I am inquiring about. What I need it to do is filter by date range, then filter by a second parameter, the person who saw the client. Also, I would like to avoid repeats in the print out. Thanks for your help.
 
Sounds like you need a subquery...

Create the first query the way you described....
Create a second query using the first query as the information in design grid. It will run the first query to retrieve the records for the second.

Limit the second query set to match you final criteria.

If this is not what you are looking for, make sure to tell us so we can see if we can help.

Best of luck if it is! :)
JerseyBoy
Remember: self-praise is no recommendation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top