B
blake7
Hi all, I have the following SELECT statement as below but want to add a date
parameter, where in the statement do I add it ?? can anyone help - I keep
trying different places but it returns errors - Thank You
SELECT Count([Main Audit Data].[Boiler Type]) AS [Number of faults], [Main
Audit Data].[Boiler Type], [Main Audit Data].Status
FROM [Main Audit Data]
WHERE ((([Main Audit Data].[Boiler Type]) Like "*isar*")) AND ([Main Audit
Data].Status="warranty")
GROUP BY [Main Audit Data].[Boiler Type], [Main Audit Data].Status;
Include this date parameter where ?????
HAVING ((([Main Audit Data].[Audit Date]) Between #1/1/2008# And
#31/01/2008#))
parameter, where in the statement do I add it ?? can anyone help - I keep
trying different places but it returns errors - Thank You
SELECT Count([Main Audit Data].[Boiler Type]) AS [Number of faults], [Main
Audit Data].[Boiler Type], [Main Audit Data].Status
FROM [Main Audit Data]
WHERE ((([Main Audit Data].[Boiler Type]) Like "*isar*")) AND ([Main Audit
Data].Status="warranty")
GROUP BY [Main Audit Data].[Boiler Type], [Main Audit Data].Status;
Include this date parameter where ?????
HAVING ((([Main Audit Data].[Audit Date]) Between #1/1/2008# And
#31/01/2008#))