Is that merge text on a layout or a calculation field? With merge fields, you can simply select the merge field text and underline style it.
In a calculation:
"User chose " & TextStyleAdd ( A1 ; underline ) & " Books and " & TextstyleAdd ( A3 ; underline ) & " Pencils"
Thanks that helps.
I have "A1 Books" all written in as the same choice so that work for this situation but it helps in other areas. I probably shouldn't have set it up this way.
"User chose " & TextStyleAdd ( LeftWords ( A1 ; 1 ) ; underline ) & " " & RightWords ( A1 ; 1 ) & " and " &
That is perfect. Thank you very much for your help.
One last question. I actually simplified my example. The actual lists have a variable amount of words. It is something like...
A2 Binder clips
A3 Jello Pudding Packs
How can I use that same technique with different amounts of words? The one that I want underlined will always only be the first word.
MiddleWords ( YourFieldHere ; 2 ; WordCount ( YourFIeldHere ) - 1 )
will return all but the first word in the field.
RightWords ( YourTextFieldHere ; WordCount ( YourTextFieldHere ) - 1 )