|
-
May 7th, 2000, 04:46 AM
#1
Thread Starter
New Member
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
-
May 7th, 2000, 06:27 AM
#2
Addicted Member
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
-
May 7th, 2000, 02:23 PM
#3
Lively Member
In textboxe's Properties set MaxLength=3
-
May 9th, 2000, 08:35 AM
#4
Thread Starter
New Member
Thanks for the help...
I'd like to thanks everyone that answered my question.
Thanks a lot
Felipe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|