SteveL13
asked on
Can't get query to return today's record
See attached. Why won't the query return today's record?
Query-Example.accdb
Query-Example.accdb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That would include dates of next day at Midnight as well.
But you could use:
WHERE tblRecords.RecordDate Between Date() And Date() + #23:59:59#;
or
WHERE (((tblRecords.RecordDate)> =Date())) and (((tblRecords.RecordDate)< Date()+1)) ;
/gustav
But you could use:
WHERE tblRecords.RecordDate Between Date() And Date() + #23:59:59#;
or
WHERE (((tblRecords.RecordDate)>
/gustav
/gustav