Hi,
what could be a reason for this query to not work in microsoft access?
It seems pretty simple for me.
Could anyone please check and, if possible, write how it should be?
Error is: Data type mismatch in criteria expression.
what could be a reason for this query to not work in microsoft access?
Code:
SELECT Max(ZWMTO_Out.Date_Time) AS MaxDateTime, ZWMTO_Out.Project INTO TempTable1 FROM ZWMTO_Out
WHERE
WEEKDAY(ZWMTO_Out.Date_Time) = 4
AND
TimeValue(ZWMTO_Out.Date_Time) < #11am#
GROUP BY ZWMTO_Out.[Project];
It seems pretty simple for me.
Could anyone please check and, if possible, write how it should be?
Error is: Data type mismatch in criteria expression.