Brian Dunning's FileMaker Custom Functions

FormatLike ( text ; template )

Applies the formatting of 'template' to 'text'

  Average rating: 3.7 (47 votes) Log in to vote

Peter Vinogradov   Peter Vinogradov - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
FormatLike ( "Title"; Templates::Heading1)
  Sample output:
Title (using the same formatting as the text in the field Templates::Heading1)

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

For applying a single format (color, style, etc.) to a field (either with a calc or an auto-enter replacement calc), regardless of how the user formats the text.

Idea is to define the overriding style in another field using FileMaker controls, rather than hard-coding the style into your calc.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.