Unbound text control

G

George R

How can I limit the length of an unbound text field? I tried unsuccessfully
to use a validation rule:
="Len([ctlMessage])<146 OR Is Null"
This expression rejects all entries except the unchanged default entry.
Thanks for you assistance.
 
F

fredg

How can I limit the length of an unbound text field? I tried unsuccessfully
to use a validation rule:
="Len([ctlMessage])<146 OR Is Null"
This expression rejects all entries except the unchanged default entry.
Thanks for you assistance.

You have incorrectly written the validation rule.
No = nor quotes needed.

Len([ctlMessage])<146 OR Is Null
 
G

George R

The corrected validation rule fixed the problem. Thank you!

fredg said:
How can I limit the length of an unbound text field? I tried unsuccessfully
to use a validation rule:
="Len([ctlMessage])<146 OR Is Null"
This expression rejects all entries except the unchanged default entry.
Thanks for you assistance.

You have incorrectly written the validation rule.
No = nor quotes needed.

Len([ctlMessage])<146 OR Is Null
 

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