I give up. Please help.
I need to perform a query that will give me records for a range of dates and for the same hours (like a work shift) each day. My table has both a time and date field. I have been successful at querying the records for the given dates, but when I try to limit by time of day (say 8 am to 4 pm) I either get no records or from 8 am of the first date to 4 pm on the last date.
I will be using this data to feed a report.
From reading other posts, I will mention that the date is saved in the table as short date format and using Date() time is short time being fed by the Now() command.
I need to perform a query that will give me records for a range of dates and for the same hours (like a work shift) each day. My table has both a time and date field. I have been successful at querying the records for the given dates, but when I try to limit by time of day (say 8 am to 4 pm) I either get no records or from 8 am of the first date to 4 pm on the last date.
I will be using this data to feed a report.
From reading other posts, I will mention that the date is saved in the table as short date format and using Date() time is short time being fed by the Now() command.