Auto calc of Year for Query

pat_nospam

Registered User.
Local time
Today, 11:19
Joined
Oct 14, 2003
Messages
151
I need to autocalculate the year for a query, so I don't have to update it on an annual basis. I can autoinput the date, but don't know how to just get the Year. Will Year() do the trick, and if so, what variables indicate how to go back 2 years (Year(),-2)?

Thanks in advance
 
Year(Date) will get you the current year. Year(Date)-2 will get you two years ago.
 
You rock :) Thanks
 

Users who are viewing this thread

Back
Top Bottom