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]*"
 
Top