Incorrect Field Length
Hi All
I am using the following code to get the user to input the correct field length.
[FONT='Calibri','sans-serif']If Len(Me.AnPostRef.Text) < 6 Or Len(Me.AnPostRef.Text) > 6 Then
MsgBox "A valid Reference Number Must Be SIX Characters ", vbCritical + vbOKOnly, "Helpdesk Ref Number"[/FONT]
[FONT='Calibri','sans-serif']I am not able to return the user back to the same field I have used setfocus option and it causes issues and error msg[/FONT]
[FONT='Calibri','sans-serif'][/FONT]
[FONT='Calibri','sans-serif']Regards[/FONT]
__________________
Brendan Bartley
|