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
Illegal operation
What is the difference between "SET ROWCOUNT" and "TOP" clause in SQL ?
Net Time reporting wrong time to workstations.
Really Uninstall previous versions of Microsoft Office if I like to try Office 2010?
Storing a web page's data stream in a string
Access Report export question: DoCmd.OutputTo can't export Excel 1997-2003 format?
Backup SQL2008 with a script from task scheduller
use sql surface area to set ip addresses that can conect
Cannot use Remote Desktop connection on Windows 2000 server
Join unrelated tables