When I enter the form, I enter, thru pop-up windows, the DatWeekStarting and HoursPerDay. In a procedure on LostFocus I entered this procedure:
Private Sub WorkDay1_LostFocus()
If WorkDay1 <> tblAttendance_Tmp.HoursPerDay Then
DoCmd.GoToControl "WorkDay1Reason"
End If
End Sub
When I change the pre-set entry, which is HoursPerDay, and tab, I get an error 624 and the debugger points to the If line. I have tried it with out the tblAttendance_Tmp, too. Still no go. Thanks to anyone providing assistance.
Private Sub WorkDay1_LostFocus()
If WorkDay1 <> tblAttendance_Tmp.HoursPerDay Then
DoCmd.GoToControl "WorkDay1Reason"
End If
End Sub
When I change the pre-set entry, which is HoursPerDay, and tab, I get an error 624 and the debugger points to the If line. I have tried it with out the tblAttendance_Tmp, too. Still no go. Thanks to anyone providing assistance.