date expired in a year

G

Guest

I have a 2 date field, if I enter date e.g. 01/01/05 in one date field on
entry of 2nd date field can I have it populate 01/01/06, i.e one year

Many thanks
 
R

Ron Weiner

What happens on a leap year?? Try ? #1/1/08# + 365 from the immediate window
in Access!! RutRow R'Astro

You might want ro change it to dateadd("yyyy",1,#1/1/08#) This will give
the correct calculation under all conditions.
 
G

Guest

I did, though it gives me default of 01/01/2009 in date field 2 for all dates
entered in date field 1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top