I have a check put in place for the Exit() event of a form field. The issue I have is that the user hits the tab key to move to the next field, and a warning is popped up. Then the field is cleared and should regain focus, but the tab is taking the cursor to the next field. What I want is for the cursor to go back to the [Schedule #] field, and am mind blown on this as I tried the fully qualified field name, as well as the ME!
Code:Private Sub ScheduleNum__Exit(Cancel As Integer) MsgBox ("Are you sure you want to remove this value?") Forms![Scheduling Assistant].[Schedule #] = Null Forms![Scheduling Assistant].[Schedule #].SetFocus Me![Schedule #.SetFocus End Sub