Hi guys,
I have 4 text boxes that are used to input a bank account number.
I have set the text boxes with an input mask of 0000 which stops the user from entering more than four numbers in each box.
I want to automatically set focus to the next box when the user has typed in 4 characters. I'm using this:
But the code won't fire! It works fine when I change the input mask back to blank. Any ideas what I can do?
I have 4 text boxes that are used to input a bank account number.
I have set the text boxes with an input mask of 0000 which stops the user from entering more than four numbers in each box.
I want to automatically set focus to the next box when the user has typed in 4 characters. I'm using this:
Code:
Private Sub txtACNumber1a_Change()
If (Len(Me.txtACNumber1a.Value) > 3) Then
Me.txtACNumber2a.SetFocus
End If
End Sub
But the code won't fire! It works fine when I change the input mask back to blank. Any ideas what I can do?