J
jbair via AccessMonster.com
I have the following query that returns what was completed yesterday, but of
course on mondays it shows nothing as it only looks for yesterday. I would
like to show what was completed on friday, or sometimes saturday when there
is production any ideas?
Jerry
SELECT Sum(InspectionLog.Quantity) AS SumOfQuantity
FROM InspectionLog
WHERE (((InspectionLog.Test3Date)>=DateAdd("d",-1,Date()) And (InspectionLog.
Test3Date)<Date()));
course on mondays it shows nothing as it only looks for yesterday. I would
like to show what was completed on friday, or sometimes saturday when there
is production any ideas?
Jerry
SELECT Sum(InspectionLog.Quantity) AS SumOfQuantity
FROM InspectionLog
WHERE (((InspectionLog.Test3Date)>=DateAdd("d",-1,Date()) And (InspectionLog.
Test3Date)<Date()));