Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hey guys,

I have a calculation: If(not IsEmpty(company); company)

How do I integrate the TextStyleAdd function with this calculation?

The first calculation is only one in a string of similar If(not IsEmpty) calculations which display a persons name, occupation, company, address, etc. on a contact overview page. Out of all this data I want to highlight certain fields like name and company but can't figure out how to mold the two together.

Thanks so much, any and all help will be greatly appreciated.

Best,

Rob

Posted (edited)

Rob,

On your contact overview page, why do you need so many If not isEmpty calcs?

Can you use a new calc text field that concantenates all the fields that you need? If you use List ( ), whatever is empty will drop out. Or a merge field?

But, to answer your question:

If (not isempty (company); TextStyleAdd (company, BOLD))

or

dsp_Contact =

List (

TextStyleAdd (ContactFullName, Bold);

Occupation;

TextStyleAdd (Company, Bold);

AddressFull_c

)

AddressFull_c =

List (

Addr1;

Addr2;

CitySTZIP_c

)

CitySTZip_c =

City & ", " & ST & " " & ZIP

Edited by Guest
Posted

Uhm...quick follow-up question. Why is this not working for me:

TextStyleAdd (TextColor (company; RGB ( 255 ; 1; 1) ; Bold))

It says "To many parameters in this function" and point towards the ; before Bold. Based on my research this should be fine...

Thanks for any and all assistance.

R.

This topic is 5543 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.