December 9, 200421 yr 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
December 9, 200421 yr Author 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
December 10, 200421 yr Author 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
December 10, 200421 yr 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.
December 13, 200421 yr Author 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
Create an account or sign in to comment