Query returning to to much information

browny

Registered User.
Local time
Tomorrow, 02:29
Joined
Mar 7, 2006
Messages
32
Hi all
I have a query that is getting data fron 2 linked tables. The relationship between these 2 tables is 1 to many. The first table(One side) contains Due Dates for services. I have asked the query to return services for the current date which is working fine. The second table(Many side) has additional work required for each vehicle. The work can be either New, On Hold, In Progress or Completed. I only want work that has not been completed to be returned if the vehicle is due for a service today. I tried having the Work Status field in the query and criteria set to <> Completed. This returned all open work including vehicles not due for service. Is there anyway this can be achieved. If I take the criteria out of the Work Status field I get the information I am looking for but it includes Completed work and I do not need to know this.
Any and all advice appreciated.

Regards
Craig
 
You need to have both criteria in your query on the same line in the query grid.This will ensure that the data returned meets both criteria.
 
Thanks Neil, works a treat, you learn something everyday.

Regards
Craig
 

Users who are viewing this thread

Back
Top Bottom