T
Tony Williams
I am running an update query using the DateAdd function. I have a
commencement date (txtissuedate) a duration in years (txtduration) and an
expiry date (txtexpirydate) I want to calculate the expiry date and update
the records. I am using this expression
DateAdd("y",[txtDuration],[txtissuedate])
But it is adding duration as a number of days instead of years eg 25 March
2006 becomes 28 March 2006 instead of 25 March 2009.
What am doing wrong I thought "y" added years??
Thanks
Tony
commencement date (txtissuedate) a duration in years (txtduration) and an
expiry date (txtexpirydate) I want to calculate the expiry date and update
the records. I am using this expression
DateAdd("y",[txtDuration],[txtissuedate])
But it is adding duration as a number of days instead of years eg 25 March
2006 becomes 28 March 2006 instead of 25 March 2009.
What am doing wrong I thought "y" added years??
Thanks
Tony