Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I limit character length in text box?

Status
Not open for further replies.

DvlDawg

Technical User
Apr 23, 2003
27
US
How do I limit the number of characters entered in a textbox, regardless of the amount the user inputs?

I thought is was something like:

myinput = dMain.TextBox1,*8
 
I figured this out, no post reply needed. Thanks.

Dim Myinput As String*8

'Number is the string length, andthing after that wont be sent to the screen. I needed this in case of fat fingers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top