S
steve
I am just learning to write VBA code and I am totally lost.
How would I go about adding validation to the below statement. I want to
check to be sure [End_time] is less then or equal to [close_time] on a
subform called [library_hours]. If it is not, I want to display a message.
Private Sub End_time_GotFocus()
Let Forms![schedule]![End_Time] = DateAdd("n", [Class_Length], [Start_Time])
End Sub
Thanks for the help
How would I go about adding validation to the below statement. I want to
check to be sure [End_time] is less then or equal to [close_time] on a
subform called [library_hours]. If it is not, I want to display a message.
Private Sub End_time_GotFocus()
Let Forms![schedule]![End_Time] = DateAdd("n", [Class_Length], [Start_Time])
End Sub
Thanks for the help