Hello all, I have an unbound combo box on a form that isn't behaving as I would expect and I don't know why. The code is shown below.
What I expect is that if the Combo51 is left blank and the user clicks off of it, hits "Tab" , etc. then they get the message box (which does happen) however focus is not reset to Combo51 as expected.
Private Sub Combo51_LostFocus()
If IsNull(Me.Combo51) Then
MsgBox "You Must Select Tool Number."
Me.Combo51.SetFocus
End If
End Sub
What am I missing?
Thanks
Dave