There is no need to store the expiration date. You could just use DateAdd
in a calculated query field, and use the query as the record source for a
form or report. At the top of a blank column in query design view:
ExpDate: DateAdd("yyyy",1,[YourDateField])
Use your actual field name in place of YourDateField.
If you literally want 365 days you could use "d" in DateAdd:
ExpDate: DateAdd("d",365,[YourDateField])
Of course, leap years will give you a slightly different result than just
adding a year.
You could use the same expression as the Control Source of an unbound text
box:
=DateAdd("yyyy",1,[YourDateField])
However, the query will make the date available in any form or report based
on the query.
See Help for more information about DateAdd.
Retarmy said:
Have a date field that is a manual input, what I need is a way to add 365
days to show the expiration date. An automatic insertion into the Expired
date field would be exelent.
Johnnie, a Novice user trying to fix an existing database.