[RESOLVED] Formula that Concatenates Strings - Can One Be Made Bold?
I have the following formula:
Code:
IF ISNULL ({CSU_CLINIC_INFO.CLINIC_NUM}) Then
IF {CSU_CLINIC_TYPE.CLINIC_ABRNAME}= 'NORM' Then
{LOCAL_DOC.DOC_NAME}
Else
{LOCAL_DOC.DOC_NAME}+ ' [' + {CSU_CLINIC_TYPE.CLINIC_ABRNAME} + ']'
Else
{CSU_NURSE_CLINIC.NURSE_CLINIC_NAME}
I want the LOCAL_DOC.DOC_NAME (bolded above) to be normal font, while the CSU_CLINIC_TYPE.CLINIC_ABRNAME is displayed as bold in the report. Is that possible?
Re: Formula that Concatenates Strings - Can One Be Made Bold?
Format the field with the Text Interpretation of HTML then change your code to:
Code:
IF ISNULL ({CSU_CLINIC_INFO.CLINIC_NUM}) Then
IF {CSU_CLINIC_TYPE.CLINIC_ABRNAME}= 'NORM' Then
{LOCAL_DOC.DOC_NAME}
Else
{LOCAL_DOC.DOC_NAME}+ ' <b>[' + {CSU_CLINIC_TYPE.CLINIC_ABRNAME} + ']</b>'
Else
{CSU_NURSE_CLINIC.NURSE_CLINIC_NAME}
See if that works for you. It should work in Crystal XI but I'm only assuming you are using Crystal.
Re: Formula that Concatenates Strings - Can One Be Made Bold?
Post your code. I tried it in one of my reports and it worked. It worked for me in CR8.5 and I just copied the same code into the same report in CR XI R2 11.54.12.1838
Re: [RESOLVED] Formula that Concatenates Strings - Can One Be Made Bold?
Just one more question....How would I go about adding one more clause to the statement below.
I now want to say IF the field "SPECIAL" is = "Y", then make the whole text field GREEN.
Code:
IF ISNULL ({CSU_CLINIC_INFO.CLINIC_NUM}) Then
IF {CSU_CLINIC_TYPE.CLINIC_ABRNAME}= 'NORM' Then
{LOCAL_DOC.DOC_NAME}
Else
{LOCAL_DOC.DOC_NAME}+ '<b> [' + {CSU_CLINIC_TYPE.CLINIC_ABRNAME} + ']</b>'
Else
{CSU_NURSE_CLINIC.NURSE_CLINIC_NAME}