I had the same problem you describe, the validation would kick in and the message box would display, but I couldn't get the SetFocus to send the cursor back to the field of error (I could set it to other fields as well). The Enabled value was Yes and the Locked value was No, so I believe those to be set correctly.
My solution was to put my validation code under the Got Focus event of the next field in the tab order. The SetFocus...
Leave a comment: