October 29, 201015 yr Hello everyone; I'm working on a project where there are a number of text fields on a particular layout. The end-user will click a button on the screen which is supposed to grab all of the text from the various boxes, concatenate them all together into a single field, and have them formatted according to specifications they've laid out for me. Some of the formatting involves varying types of alignment. For instance, some text will be left-aligned, and others will be right-aligned. Is there a way to accomplish this via script or calculation within FileMaker Pro? Thanks in Advance Matt
October 29, 201015 yr Matt, As far as I know, alignment within a text field is not scriptable. Maybe there's another way to go about this? Can you provide the entire requirement? Barbara
November 2, 201015 yr Author Thank you for your response Barbara, and sorry for my delayed reply. I think I have found a 'workaround' though. Instead of programmatically manipulating the text that I need right-aligned, I've used a template type of approach. I'm taking a text block such as <> <> <> storing it in a global field, manually right-aligning the text <> and performing a scripted "Replace" to substitute the merge tags with the text that I really want to use. The alignment is persistent. I hope this helps somebody else, because I was really racking my brain on this one... even though it's such a simple solution.
Create an account or sign in to comment