Connecting Tech Pros Worldwide Help | Site Map

text limit on a textbox

  #1  
Old November 13th, 2005, 12:15 PM
Parintas Themis STE Kardias
Guest
 
Posts: n/a
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

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 'there isnt enough memory' when scrolling textbox robert.waters answers 7 June 27th, 2008 08:27 PM
Text limit in text box? answers 1 July 31st, 2007 01:35 PM
Is there a character limit on bound controls? pedalchick answers 4 August 25th, 2006 03:55 PM
Text limit on DataGrid Column Aaron Smith answers 6 November 21st, 2005 06:20 AM