Limiting character type

H

H. Martins

How do I limit the character types entered in a textbox?

Say, I want to accept as valid characters numbers, letters and '-'
only.

Could that be limited in the table itself?

Thanks
Henry
 
M

Marshall Barton

H. Martins said:
How do I limit the character types entered in a textbox?

Say, I want to accept as valid characters numbers, letters and '-'
only.

Could that be limited in the table itself?


Yes. Set the field's Validation Rule to:

Is Null Or Not Like "*[!-0-9a-z]*"
 

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