Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating Concatinated Text

Status
Not open for further replies.

TEM3

Technical User
Dec 6, 2004
324
US
Using Crystal Reports 8.5:

When combining text with data in a formula to print out a result with a text description, I have often wanted to format some of the text (or text converted data) differently from the rest of the final string. Is it possible to embed text formatting codes into a strings.
 
You can build html tags into a formula to do this, for example:

Code:
"<strong>" + "Hello, " + "</strong>" + " today is: " + totext(currentdate,"MM/dd/yyyy")

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top