Jump to content
Server Maintenance This Week. ×

Limiting a Field to 45 Characters


This topic is 8061 days old. Please don't post here. Open a new topic instead.

Recommended Posts

"Maximum number of characters" is now one of the options for Validation in the Define Fields dialog.

Link to comment
Share on other sites

quote:

Originally posted by Fitch:

"Maximum number of characters" is now one of the options for Validation in the Define Fields dialog.

That would be for v5.5 I presume; v5.0 doesn't have this feature.

For earlier versions, you can create a calc field to return a message if the data entry field is too long -- be sure to go into "storage options" and check the "Do not store..." box. The problem is that the calc field doesn't calculate while you're entering data in the entry field; it waits until you exit that field.

Link to comment
Share on other sites

quote:

Originally posted by Russell Baker:

For version 5.0 and earlier, set the field validation for the "TExt" to:

code:


If(Length(TExt)>44,0,1)

and display a message like "Toooooo Long" if the validation fails.

This will only work once you try to leave the "TExt" field


Works great, thanks.
Link to comment
Share on other sites

This topic is 8061 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.