November 16, 200916 yr 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
November 16, 200916 yr 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 November 16, 200916 yr by Guest
November 17, 200916 yr Author 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.
November 17, 200916 yr Try: TextStyleAdd ( TextColor [color:red]( company ; RGB ( 255 ; 1 ; 1 ) [color:red]) ; Bold )
Create an account or sign in to comment