E
Emilio
When a form is open I want to stop the user from making
changes if date is more than 15 days.
I tried many things like below but my knowledge is
limited.
Private Sub Status_BeforeUpdate(Cancel As Integer)
If IsLoaded("ScheduleSubformFriday") And Me!JobDate < (Now
() -15) Then
Cancel = True
Else
DoCmd.Beep
End If
End Sub
Many thanks,
Emilio
changes if date is more than 15 days.
I tried many things like below but my knowledge is
limited.
Private Sub Status_BeforeUpdate(Cancel As Integer)
If IsLoaded("ScheduleSubformFriday") And Me!JobDate < (Now
() -15) Then
Cancel = True
Else
DoCmd.Beep
End If
End Sub
Many thanks,
Emilio