How to limit the number characters typed in a text box on a ms acc

Z

Zadi Friedrich

How everyone,
I need know how in ms access 2000 I can limit the number of character type
in a text box on a form. Say I want to limit the end user to be able to type
only 30 characters in a text box, as ms access unlike visual basic doesn't
offer this capability for its text box control, how can I achieve that?
Thanks
 
K

Klatuu

Use the Input Mask property of the text box. What you put in it will depend
on what characters are allowed. If you want to allow all characters
including space, then 30 Cs strung together:
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
 
A

Albert D.Kallal

How everyone,
I need know how in ms access 2000 I can limit the number of character type
in a text box on a form. Say I want to limit the end user to be able to
type
only 30 characters in a text box, as ms access unlike visual basic doesn't
offer this capability for its text box control, how can I achieve that?
Thanks

If you are talking about a bound field, then just set the max size of the
field in the table design..and it will be limited for you.

And, as the other post mentioned, if you are using a un-bound text box..then
use a input mask of "CCCCCCC"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top