Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date question in MS Access

Status
Not open for further replies.

herd

Technical User
Jun 23, 2003
46
US
To look at data for the past 2 years in a querry, would the expression look like this >Date()-720?
 
Actually, 730 (365 * 2) would be more accurate.

Or, for the greatest accuracy possible, use >DateAdd("yyyy", -2, Now())

Rick Sprague
Want the best answers? See faq181-2886
To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top