S
Steve Vincent
I have a user trying to query by the time field between two times. Her time
criteria are "Between #11:01:00 PM# And #6:59:00 AM#". This results in times
outside the time range, e.g., 9:00 PM, 8:00 AM, etc.
Here's the query at its simplest:
SELECT [Time Table].[Time of Day]
FROM [Time Table]
WHERE ((([Time Table].[Time of Day]) Between #12/30/1899 23:1:0# And
#12/30/1899 6:59:0#));
What is going wrong here? Does Access not "see" times spanning midnight as
within the same time range, e.g., from 11pm to 7am?
TIA,
Steve Vincent
(e-mail address removed)
criteria are "Between #11:01:00 PM# And #6:59:00 AM#". This results in times
outside the time range, e.g., 9:00 PM, 8:00 AM, etc.
Here's the query at its simplest:
SELECT [Time Table].[Time of Day]
FROM [Time Table]
WHERE ((([Time Table].[Time of Day]) Between #12/30/1899 23:1:0# And
#12/30/1899 6:59:0#));
What is going wrong here? Does Access not "see" times spanning midnight as
within the same time range, e.g., from 11pm to 7am?
TIA,
Steve Vincent
(e-mail address removed)