Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Apr 2003
    Location
    Jacksonville, North Carolina, USA
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Calculate Due Date (2003 (11.8166.8221) SP3)

    Based on the attached how best should I code the “Next Due Date” field to auto-fill a calculated due date based on the training frequency of the course and the date it was last completed – use of DateDiff, DatePart, DateSerial, DateValue function? Am I using if then else coding? If so, please provide sample coding.
    Attached Files Attached Files

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Calculate Due Date (2003 (11.8166.8221) SP3)

    Do you have the option of converting the Frequency field into a number of Months? 0, 12, 24.

    If so you could use:

    Next Due Date: iif([Frequency]>0, DateAdd("m",[Frequency],[Date Completed]),#00/00/0000#)
    Regards
    John



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •