I have the following which checks to see if the user has a personal day scheduled on the date the user input.
If txtRmvP <> [SFPersDaySch].[Form]![EventDate] Then
MsgBox "You do not have a Personal Day scheduled on this date."
End If
Right now, it’s checking the first instance and then concluding that the user does not have a Personal Day scheduled on that date. The user may have more than 1 personal days scheduled. How do I modify this to check all of the scheduled event dates before concluding that there isn’t one scheduled on that day?
If txtRmvP <> [SFPersDaySch].[Form]![EventDate] Then
MsgBox "You do not have a Personal Day scheduled on this date."
End If
Right now, it’s checking the first instance and then concluding that the user does not have a Personal Day scheduled on that date. The user may have more than 1 personal days scheduled. How do I modify this to check all of the scheduled event dates before concluding that there isn’t one scheduled on that day?