I created VB event on the ClientID field when its focus is lost, to check for a possible duplicate id being entered.
When I tab from the ClientID to the next field (lastName) the msgbox appears to warn the user that they just entered a duplicate ClientID. I want to cursor to go back to the ClientID field from the lastname field, so that the user can correct the error. If I don't, the user can continue to enter data without correcting the duplicate ClientID.
I tried SETFocus, Repaint, and a few others, with no success, the cursor still remains in the LastName field after the dup message appears.
Your thoughts please.
When I tab from the ClientID to the next field (lastName) the msgbox appears to warn the user that they just entered a duplicate ClientID. I want to cursor to go back to the ClientID field from the lastname field, so that the user can correct the error. If I don't, the user can continue to enter data without correcting the duplicate ClientID.
I tried SETFocus, Repaint, and a few others, with no success, the cursor still remains in the LastName field after the dup message appears.
Your thoughts please.