Question : Date criteria in Access 2007

Hello Experts
I am trying to extract data older than 2 years but can't seem to get the criteria right.  I've tried >Date()-730 but it's not giving me what I need.
Any ideas?
LillyC

Answer : Date criteria in Access 2007

Hello LillyC,

If you want older than two years:

WHERE DateField < DateAdd("yyyy", -2, Date())

Regards,

Patrick
Random Solutions  
 
programming4us programming4us