A
AngiW
I have a field, txtEID. When a user tabs out of the field, it checks to see if
the employee is eligible for this form. If not, a vbOkOnly message box pops
up. When they press ok, I want the same field to have the focus again. It's
not working. Here's some of what I have in the txtEID_LostFocus event:
Response = MsgBox(Msg1, Style, Title)
If Response = vbOK Then
txtEID.SetFocus
End If
the employee is eligible for this form. If not, a vbOkOnly message box pops
up. When they press ok, I want the same field to have the focus again. It's
not working. Here's some of what I have in the txtEID_LostFocus event:
Response = MsgBox(Msg1, Style, Title)
If Response = vbOK Then
txtEID.SetFocus
End If