DateAdd on afterUdate

soundsfishy

Registered User.
Local time
Today, 21:33
Joined
Sep 25, 2002
Messages
174
I have 2 date fields on a form. I need the second date field to show 30 days after a date has been entered in the first field.

How how I use dateAdd function in the afterUpdate Event in the first field.
 
er, actually, it's this:

=DateAdd("d", 30, [YourFirstDateField1])
 
as is typical in access there is always more than 1 way,
dateadd("y",30,[nameofdatefield1]) will also give you
the correct date
 
Sorry, saw the "y" bit and thought you were adding 30 years. :rolleyes:

Monday mornings :confused:
 

Users who are viewing this thread

Back
Top Bottom