By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,871 Members | 2,464 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,871 IT Pros & Developers. It's quick & easy.

text limit on a textbox

P: 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

Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Use the Input Mask property of the text box. Look up Input mask in the
help file. It gives examples.

Nov 13 '05 #2

P: n/a
Parintas Themis STE Kardias wrote:
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


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

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.