Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5898 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I have a field option calculation on a F Name Field that strips out formating and adds title case.

TextStyleAdd (TextStyleAdd ( F Name ;Plain) ; Titlecase )

(Do not replace - is not selected)

Works great! Except when I do an email merge all the title case formating is lost.

Many times the information in the field is placed there by a script parsing a web page. Would I be better off formating it within the set script on entry?

Also assigning a field on a layout to be bold that contains the F Name field will not show in bold. Even if this is a field that joins the F Name and L Name fields.

Edited by Guest
Posted

1. Styling done on the data level overrides layout formatting. If you want to remove styling from entered/pasted text, use the TextFormatRemove() function, instead of forcing the style to Plain.

2. E-mail is always plain text, and any styling you have applied to your data will not be preserved. You could use the Proper() function instead - note, however, that this will modify the actual data, unlike TextStyleAdd ( text ; Titlecase ) that merely styles it (export your data to a plain-text format to see the difference).

Posted

The TextFormatRemove( ) function removes everything - size, colour and style - in one go.

This topic is 5898 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.