Validation Rule

KabirPatel

Registered User.
Local time
Today, 22:48
Joined
Nov 16, 2006
Messages
38
Hi,

I have a text box in a form and would like to ensure that the contents of this text box does not exceed 27 characters in length (it can be less then 27 characters or even blank). How do I do this using a validation rule?

I tried LIKE "????????????????????????????" but this only checks for precisely 27 characters.

I do not want to use an Input mask as they are horrible.

Cheers,
Kabir
 
Personally I'd probably test elsewhere, but try:

Len([TextBoxName])=27
 
try

Len([TextBox])<=27
 
Oops; misread it. Thanks Keith.
 

Users who are viewing this thread

Back
Top Bottom