Batfastad Posted December 9, 2004 Posted December 9, 2004 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
Batfastad Posted December 9, 2004 Author Posted December 9, 2004 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
-Queue- Posted December 9, 2004 Posted December 9, 2004 FYI You can have up to 64,000 characters in a text field.
Batfastad Posted December 10, 2004 Author Posted December 10, 2004 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
-Queue- Posted December 10, 2004 Posted December 10, 2004 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.
Batfastad Posted December 13, 2004 Author Posted December 13, 2004 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now