Changing a date

  • Thread starter Thread starter Matthew Mandalek
  • Start date Start 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
 
Look at the DateAdd function in the Help file. It will automatically take care
of leap years for you.
 
Back
Top