Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 12:15 PM
Parintas Themis STE Kardias
Guest
 
Posts: n/a
Default text limit on a textbox

I have a textbox, and i wand to put a limit (for example only 8 characters)
and if i entry characters not longer of 8 then add spaces for the rest of
textbox characters



  #2  
Old November 13th, 2005, 12:15 PM
Tanis
Guest
 
Posts: n/a
Default Re: text limit on a textbox

Use the Input Mask property of the text box. Look up Input mask in the
help file. It gives examples.

  #3  
Old November 13th, 2005, 12:15 PM
Bas Cost Budde
Guest
 
Posts: n/a
Default Re: text limit on a textbox

Parintas Themis STE Kardias wrote:[color=blue]
> I have a textbox, and i wand to put a limit (for example only 8 characters)
> and if i entry characters not longer of 8 then add spaces for the rest of
> textbox characters[/color]

Trailing spaces won't be stored. You can set the field length to 8; you
can use an input mask (that will do the spaces AFAIK); but they're gone
as soon as you 'save' the field.

What is it for? I mean, why do you want to have exactly 8 characters?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles