-
Good evening.
I'll ask something. I have a field in a database's table that is 3 (three) charecters long. How can I make the textbox that I'm going to use to edit this field. How can I make the textbox be 3 (three) characters long?
Thanks for the help
Felipe
-
Hi there,
Wanna' try this.
Private Sub Text1_Change()
If len(trim(Text1.Text)) > 3 then
Text1.Text = left(Text1.Text,3)
End If
End Sub
-
In textboxe's Properties set MaxLength=3
-
Thanks for the help...
I'd like to thanks everyone that answered my question.
Thanks a lot
Felipe