D
David##
I have a routine that validates data. If VALID, nothing
happens. If INVALID, I have a vbOKOnly msgbox stating the
error. After the msg displays, I want to set focus back to
the field with the bad data. Instead, focus goes to the
next field regardless of where I stick a "SetFocus"
command. How do I direct to the bad field without
depending on the user to go there?
happens. If INVALID, I have a vbOKOnly msgbox stating the
error. After the msg displays, I want to set focus back to
the field with the bad data. Instead, focus goes to the
next field regardless of where I stick a "SetFocus"
command. How do I direct to the bad field without
depending on the user to go there?