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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date plus 365

Status
Not open for further replies.

NETHROW

Technical User
Oct 18, 2002
12
US
my db is for equipment certification.
I'm trying to figure out how to do the following:
I have a date field when employees are certified on equipment.
I want to create a variable date field for when their certification expires. 1 year (365 days) after the initial certification date. ie
Cert date 01/01/2005
Cert exp date 01/01/2006
I'm using the short date format.
I want this to be calculated in the table and not through a querie or report.
Can someone help?
 
In the data entry form you may create an AfterUpdate event procedure for the [Cert date] control:
Me![Cert exp date] = DateAdd("yyyy", 1, Me![Cert date])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top