Hello, everyone here!
I need to set up a routine followup schedule in my Access 2003 database. The start date of a subject is the first Monday after being enrolled. So I am wondering if there is a simple way (like a function or something) to request the date of the first coming Monday.
Thanks a lot for any suggestion!
lunaa

How to get the date of the next coming Monday?
345
I will plant your codes in my database~
lunaa
spelger
Hi Lunaa
Add the following into a module, then you can access the function as required.
Public Function NextMonday(MyDate As Date) As Date
Dim x As Long
x = Weekday(MyDate)
If x >= 2 Then
NextMonday = MyDate + 9 - x
Else
NextMonday = MyDate + 1
End If
End Function