All of the field that use dates are the correct field type.
SELECT Claim.FLX_Claim_Num, Claim.Resp_Dept, Claim.Occ_Date, Claim.Cust_ID,
Claim.Product_Num, Claim.Product_Name, Claim.Customer_Prob_Desc,
[C/M-CustClaim].Description, [C/M-CustClaim].Type, [C/M-CustClaim].[Op/St],
[C/M-CustClaim].[Auditor initial], [C/M-CustClaim].Resp,
[C/M-CustClaim].Target, [C/M-CustClaim].Run, [C/M-CustClaim].[C/M Complete],
[C/M-CustClaim].Effective, [C/M-CustClaim].Comm1, [C/M Complete]+90 AS Expr1,
[C/M-CustClaim].[C/M confirmed 90day], [C/M-CustClaim].[Shift 90day],
[C/M-CustClaim].[Auditor 90day], [C/M-CustClaim].[Comments 90day]
FROM (Claim INNER JOIN [C/M-CustClaim] ON Claim.FLX_Claim_Num =
[C/M-CustClaim].Flx_Claim_Num) INNER JOIN Cust_Assy_Claim ON
Claim.FLX_Claim_Num = Cust_Assy_Claim.Flx_CA_ClaimNum
GROUP BY Claim.FLX_Claim_Num, Claim.Resp_Dept, Claim.Occ_Date,
Claim.Cust_ID, Claim.Product_Num, Claim.Product_Name,
Claim.Customer_Prob_Desc, [C/M-CustClaim].Description, [C/M-CustClaim].Type,
[C/M-CustClaim].[Op/St], [C/M-CustClaim].[Auditor initial],
[C/M-CustClaim].Resp, [C/M-CustClaim].Target, [C/M-CustClaim].Run,
[C/M-CustClaim].[C/M Complete], [C/M-CustClaim].Effective,
[C/M-CustClaim].Comm1, [C/M-CustClaim].[C/M confirmed 90day],
[C/M-CustClaim].[Shift 90day], [C/M-CustClaim].[Auditor 90day],
[C/M-CustClaim].[Comments 90day]
HAVING (((Claim.Resp_Dept) Like "*cast*") AND (([C/M-CustClaim].[C/M
Complete])>#3/31/2008#) AND (([C/M Complete]+90) Between [Start Date] And
[End date]) AND (([C/M-CustClaim].[Auditor 90day]) Is Null))
ORDER BY Claim.Product_Name;
Thanks
John W. Vinson said:
I have a query with a expression field that adds 90 days to a date field. I
use the search criteria "Between [Start Date] and [End Date]" and run the
query. I type in 03/31/08 (start) and 12/08/08 (end) and then the query
brings back data from all the way back to 2001.
Sounds like you may have the data stored in a Text field. What is the datatype
of the relevant field? If it's Date/Time, please post the complete SQL view of
the query.