Dave Eyley
Registered User.
- Local time
- Today, 22:46
- Joined
- Sep 5, 2002
- Messages
- 254
Hi All,
I want to build a query to select records based on time. My table contains the records -
LogDate
LogTime (Short Time format)
I want the query to pull all the records for 24hrs back from now...
I've tried Between LogDate AND LogDate-1 AND Between LogTime And LogTime-24
But it doesn't work
I've tried using the DateAdd() function to no avail.
Any ideas?
I want to build a query to select records based on time. My table contains the records -
LogDate
LogTime (Short Time format)
I want the query to pull all the records for 24hrs back from now...
I've tried Between LogDate AND LogDate-1 AND Between LogTime And LogTime-24
But it doesn't work
I've tried using the DateAdd() function to no avail.
Any ideas?