D
DS
I have an unbound field that I type in. When the number of chracters
reach 18 I want a message box to pop up that tells you to stop. I don't
want any input beyond 18 chracters, less is ok.
Heres what I have...
Text0 is where the typing takes place. I tried after update, on chage
before update of the textbox but it only works after you take the focus
off of the textbox. Any help appreciated. Thanks, DS.
Me.Text6 = Len(Me.Text0)
If Me.Text6 > 18 Then
MsgBox "stop"
Else:
End If
reach 18 I want a message box to pop up that tells you to stop. I don't
want any input beyond 18 chracters, less is ok.
Heres what I have...
Text0 is where the typing takes place. I tried after update, on chage
before update of the textbox but it only works after you take the focus
off of the textbox. Any help appreciated. Thanks, DS.
Me.Text6 = Len(Me.Text0)
If Me.Text6 > 18 Then
MsgBox "stop"
Else:
End If