Link to home
Start Free TrialLog in
Avatar of Amour22015
Amour22015

asked on

MS Access Query - Year minus one

Hi Experts,

I have this query:
Yearago: DateAdd("yyyy",-1,[intProgYear])

Open in new window


intProgYear is only the year YYYY

I am getting:
On intProgYear = 2009
On Yearage = 7/1/1904

this is way off, I should get:
On intProgYear = 2009
On Yearage = 2008


Please help and thanks
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Amour22015
Amour22015

ASKER

Great Thanks