hsingh1981
Programmer
Hi all i am trying to do query which shows counts the number of records where the date is > then 01/02/2008 onwards. But show data for only weekdays (monday to friday). With a time range off 08:00 am to 20:00.
eg.
NumberOfRecs DateInserted
6 Feburary
20 March
13 April
Don't know how to filter for weekdays and count them? this is what i got so far
eg.
NumberOfRecs DateInserted
6 Feburary
20 March
13 April
Don't know how to filter for weekdays and count them? this is what i got so far
Code:
SELECT tbl_METOBS.METOBSID, tbl_METOBS.TimeAdded, Format([DateAdded],"mmmm") AS DateInserted
FROM tbl_METOBS
WHERE (((tbl_METOBS.DateAdded)>=#2/1/2008#))
ORDER BY tbl_METOBS.DateAdded, tbl_METOBS.TimeAdded;