display the records not within 60 days

aman

Registered User.
Local time
Yesterday, 17:28
Joined
Oct 16, 2008
Messages
1,251
Hi guys

I have a table that stores customer details. There are two date fields Date1 and Date2.

I want to find the difference between date 1 and date 2 and display the records whose difference is greater than 60 days.

Can anyone please help me in writing the sql query for this purpose.

I hope you understand my problem.

Thanks
 
Use the DateDiff function and set the critera: >60

ex:

Filtered Customer: Datediff("d", [date1], [Date2])

criteria:

>60

JR
 
Thanks a lot JANR for your help.
 

Users who are viewing this thread

Back
Top Bottom