Connecting Tech Pros Worldwide Help | Site Map

text limit on a textbox

Parintas Themis STE Kardias
Guest
 
Posts: n/a
#1: Nov 13 '05
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



Tanis
Guest
 
Posts: n/a
#2: Nov 13 '05

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.

Bas Cost Budde
Guest
 
Posts: n/a
#3: Nov 13 '05

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

Closed Thread