G
Guest
I am running into a dilema I posed this problem last week and recieved what I
thought was a great idea how ever either I dont understand or did something
wrong.
The problem - I have a query that under lies a datasheet view of a form. I
need the result of the query to return all of the records from 08:00am to
07:59am the following day. The date is stored in a field strDate, the time in
a field strStime. One solution was to create a calaculated column in the
query "strDate+strStime" then in the criteria section place a Between
Date() +8#8:00AM# And Date()+#7:59AM#+1
This seems to work fine untill after midnite then the query returns nothing
unless I change the +1 to a -1 then it will return the records
Thank you all for the help so far
thought was a great idea how ever either I dont understand or did something
wrong.
The problem - I have a query that under lies a datasheet view of a form. I
need the result of the query to return all of the records from 08:00am to
07:59am the following day. The date is stored in a field strDate, the time in
a field strStime. One solution was to create a calaculated column in the
query "strDate+strStime" then in the criteria section place a Between
Date() +8#8:00AM# And Date()+#7:59AM#+1
This seems to work fine untill after midnite then the query returns nothing
unless I change the +1 to a -1 then it will return the records
Thank you all for the help so far