Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi,

In a script, what's the maximum number of characters you can have in a 'set field' script step for a text field?

What's the maximum number of characters you can have in text field anyway?

Just wondering if I'll have to do this with more than one set field script step.

I might have to set the field, then do another set field to append more content to the end of the field. And possibly again. Hopefully though I can just do it the once.

Thanks

Ben

Posted

Just tried actually and the maximum length of a textx string is 253 chars.

FileMaker 5.5

Dammit that's far too few.

Oh well guess I'll have to break it up a bit.

Thanks

Ben

Posted

Cool.

I've decided to use the insert text script step to set the contents of the field.

Found I can have loads more text in there than in a single string of a set field.

Thanks for the info

Ben

Posted

Make sure that the fields to be inserted are all on the current layout or your steps will fail. It would be safer to use

Set Field [field1; "blah blah blah"]

Set Field [field1; field 1 & " yakety schmakety"]

etc.

Posted

Set Field is safer. Just seems more consistent in my experience.

Unfortunately for this I think I'll have to go with Insert Text.

The script's pretty bullet proof though so I think that should work fine.

Thanks

Ben

This topic is 7288 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.