customfamily Posted November 16, 2009 Posted November 16, 2009 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
bcooney Posted November 16, 2009 Posted November 16, 2009 (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 November 16, 2009 by Guest
customfamily Posted November 16, 2009 Author Posted November 16, 2009 Th-th-th-th-thaaaaaaaaaank you! :
customfamily Posted November 17, 2009 Author Posted November 17, 2009 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.
comment Posted November 17, 2009 Posted November 17, 2009 Try: TextStyleAdd ( TextColor [color:red]( company ; RGB ( 255 ; 1 ; 1 ) [color:red]) ; Bold )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now