Microsoft
Software
Hardware
Network
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
Comparison of Database Audit Tools
DoCmd.OutputTo - runtime error 30016 the field 'id' is read only
BAD WEEK NUMBER IN OUTLOOK CALENDAR
Access 2007 and PDF
How to obtain the Product key
Meeting request change delayed (4.4.7) when sending to more than one outside recipient
Unable to install nVidia Display driver
Error printing report
Microsoft Exchange hardware requirement
SQL Server BIT field true and false