On not filling a text box of a field that is madatory in the database i want to throw a error message to user and set the focus to that particular Text box
Please help me in setting focus to that particulat text box.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 3314
MsgBox "A required field is blank.", vbCritical
Response = acDataErrContinue
End Select
End Sub
Regards
Jagadeep Reddy