Trasfering control to specific field

  • Thread starter wasimsono via AccessMonster.com
  • Start date
W

wasimsono via AccessMonster.com

Dear All

I have a problem that as the user entered wrong data then evaluations started
and the message displayed that enter correct data and then control should go
to that specific field for entering correct data. but it doesn't. the code I
used is as below.\

If CD <> Right(con, 1) Then
MsgBox " The check digit is " & CD
MsgBox "Please Enter Correct Customer
No"
DoCmd.GoToControl "conb"
End If
Please help.

Thanks.

Wasim
 
Top