![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anyone provide me with an example of the LET function to change a TEXT field's FONT, PT SIZE and STYLE all in one calculation. Please use Surname as the text field in the LET calculation. Thanks in advance for the help. |
#3
| |||
| |||
|
|
Not sure why you'd use a Let function. In fact, you can't change fields with Let -- only variables. Use the Set Field script step to make the change, or else just use a calc field, something like: TextStyleAdd(TextSize(TextFont(Surname; Arial); 18); bold+underline) I suppose you could turn it into a text function if you want to provide for measier maintenance of the calc, something like: Let([ x = Surname; x = TextFont(x; Arial); x = TextSize(x; 18); x = TextStyleAdd(x, bold+underline) ]; x) AL Lawrance wrote: Can anyone provide me with an example of the LET function to change a TEXT field's FONT, PT SIZE and STYLE all in one calculation. Please use Surname as the text field in the LET calculation. Thanks in advance for the help. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg FM Professional Solutions, Inc. Los Angeles |
#4
| |||
| |||
|
|
Thanks, Howard......... For now, I am going to try out the first suggestion you made. Have a Happy New Year Al Lawrance. "Howard Schlossberg" <howard (AT) antispahm (DOT) fmprosolutions.com> wrote in message news:12pg63vn91dps6e (AT) corp (DOT) supernews.com... Not sure why you'd use a Let function. In fact, you can't change fields with Let -- only variables. Use the Set Field script step to make the change, or else just use a calc field, something like: TextStyleAdd(TextSize(TextFont(Surname; Arial); 18); bold+underline) I suppose you could turn it into a text function if you want to provide for measier maintenance of the calc, something like: Let([ x = Surname; x = TextFont(x; Arial); x = TextSize(x; 18); x = TextStyleAdd(x, bold+underline) ]; x) AL Lawrance wrote: Can anyone provide me with an example of the LET function to change a TEXT field's FONT, PT SIZE and STYLE all in one calculation. Please use Surname as the text field in the LET calculation. Thanks in advance for the help. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg FM Professional Solutions, Inc. Los Angeles |
![]() |
| Thread Tools | |
| Display Modes | |
| |