Print Page | Close Window

Bold Text in ExtractString 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=22887
Printed Date: 29 Apr 2024 at 2:23am


Topic: Bold Text in ExtractString Formula
Posted By: chorihong
Subject: Bold Text in ExtractString Formula
Date Posted: 01 Sep 2020 at 6:32pm
Hi,
I am struggling to make certain text in formula bold.
The below is my current formula and I want to make 'Name1' bold.


ExtractString ({MyField}, "<Name1>","<") & ChrW(13) &
ExtractString ({MyField}, "<Post_Code1>","<") & ChrW(13) &
ExtractString ({MyField}, "<Street>","<") & ChrW(13) &
ExtractString ({MyField}, "<Name1>","<") ;

where do I have to place <b> and </b> to make 'Name1' bold ?

thanks for your help !



Replies:
Posted By: lockwelle
Date Posted: 03 Sep 2020 at 8:00am
I do not know for sure, but one would guess that it would be <b><Name1></b>

it is only a guess.

for Crystal to display the html code you need to tell the text field to format as html. it is not the default.

HTH



Print Page | Close Window