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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to format a string 1

Status
Not open for further replies.

buck149

Programmer
Jan 22, 2007
54
US
Crystal XI, SQL server 2005

I was trying to bold certain words in a long string field ( a string will contain 500 words) and there are couple of times the word "comment" would appear, how can I bold this word each every time?
 
Create a formula:

replace({table.field},"Comment","<b>Comment</b>")

Then format the formula by going to format field->paragraph->text interpretation->HTML text.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top