difference between two dates +5 days

lotarugg

Registered User.
Local time
Today, 08:46
Joined
Mar 15, 2011
Messages
34
Hi, I'm trying to build a query to generate a report based on the difference between two dates being greater than 5 days. On the query setting the criteria for the "date_acknowedged" field I'm trying to write a statement that says if it is 5 days greater than the "date_received" field. Something like

Datediff > [date_received] +5

Have searched everywhere for the right syntax

Cheers
 
Hi! You need a field in your query thusly:
Code:
datediff("d",date_received,date_acknowledged)
and the criteria for that should be >5.
 
Awesome :) Thanks very much
 

Users who are viewing this thread

Back
Top Bottom