F
Fritz Switzer
I have a DateTime field in my Access table named AuditTime.
I'm having trouble creating a SQL query that will return all records that
are "older" than 12 hours. I've tried different variations of the
following:
SELECT *
FROM Charts
WHERE (DATEDIFF('hh', [ AuditTime], NOW()) = '12')
"No value given for one or more parameters" is the error message.
TIA,
Fritz
I'm having trouble creating a SQL query that will return all records that
are "older" than 12 hours. I've tried different variations of the
following:
SELECT *
FROM Charts
WHERE (DATEDIFF('hh', [ AuditTime], NOW()) = '12')
"No value given for one or more parameters" is the error message.
TIA,
Fritz