M MICHELE Registered User. Local time Today, 00:06 Joined Jul 6, 2000 Messages 117 Jan 24, 2002 #1 I have a data entry form that users enter a Load date. I want them to be limited to only entering Load dates from Monday to Saturday (no Sunday Dates).
I have a data entry form that users enter a Load date. I want them to be limited to only entering Load dates from Monday to Saturday (no Sunday Dates).
J Jack Cowley Registered User. Local time Today, 00:06 Joined Aug 7, 2000 Messages 2,636 Jan 25, 2002 #2 In the Before Update event of your LoadDate field use code like this: If Format(Me![LoadDate], "ddd") = "Sun" Then MsgBox "This is a Sunday" Me.Undo Cancel = True End If
In the Before Update event of your LoadDate field use code like this: If Format(Me![LoadDate], "ddd") = "Sun" Then MsgBox "This is a Sunday" Me.Undo Cancel = True End If