Print Page | Close Window

Making part of the text bold in a formula?

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11771
Printed Date: 03 May 2024 at 6:15am


Topic: Making part of the text bold in a formula?
Posted By: swatts
Subject: Making part of the text bold in a formula?
Date Posted: 02 Dec 2010 at 6:51am
Is it possible to make part of your text bold but not all of it?

ie:

if not isnull {(table.one)} then
"Chapter 1:" Chr(13)
"Here is a tale of a ......etc"

Make Chapter 1 bold but not the rest?



Replies:
Posted By: DBlank
Date Posted: 02 Dec 2010 at 7:58am

change the formula to use HTML...

if not(isnull ({table.one})) then
'<b> Chapter 1: </b> <BR>Here is a tale of a ......etc '
then right click on the field
select Format Field
select Paragraph tab
Change Text Interpretation to "HTML Text"
 
Or Use a text field and drrag and drop fields (or formula fields) into it and you can change each item using teh usual formating tools



Print Page | Close Window