Return to FileMaker.com
Change Text Size Script
I would like to create a script trigger that reduces the text size of a calculated text field if the Length is over a certain size.
This is needed when a report is printed only .
You don't actually need a script for this. You can use conditional formatting to reduce the font size when the number of characters exceeds a given length.
Length ( Self ) > 25
could be the expression to reduce font size when the number of characters exceeds 25. You can then click "More Formatting..." to bring up a dialog where you can specify a smaller font size.
Retrieving data ...