Changing a date

M

Matthew Mandalek

Is there any easy way to update a DATE field? I have the following values:

NextDate - next date to run
Cycle - the run cycle (Day, Week, Month, Year)

NextDate needs to be updated by Cycle. Do I need to write the code, or is
there any simply way to do this? Also, if I have to write code, how do I
know when it is leap year?

Thanks

Matt
 
P

PC Datasheet

Look at the DateAdd function in the Help file. It will automatically take care
of leap years for you.
 

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