Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: How to bold the formula text--Urgent Post Reply Post New Topic
Author Message
chitz
Newbie
Newbie
Avatar

Joined: 26 Dec 2007
Online Status: Offline
Posts: 32
Quote chitz Replybullet Topic: How to bold the formula text--Urgent
    Posted: 28 Dec 2007 at 4:47am
I have one formula with a text concatinated with the field.But i want that text to be in bold and should be alligned in center.And i want the next content to be displayed in the next line after the text
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 28 Dec 2007 at 5:25am
There is a tip in Brian's book on using HTML to format part of a text field.

To add a carriage return, use ChrW(13).  13 is the ASCII code for a carriage return.

So, your formula would look like:


"<b>This is my bolded text</b>" & ChrW(13) & "This text is plain."


You then need to go into the Format Field dialog.  Go to the Paragraph tab.  Under Text Interpretation, make sure "HTML Text" is selected.  Otherwise, it won't interpret the HTML tags.



IP IP Logged
chitz
Newbie
Newbie
Avatar

Joined: 26 Dec 2007
Online Status: Offline
Posts: 32
Quote chitz Replybullet Posted: 28 Dec 2007 at 5:32am
But in my Text interpretation combo only RTF text is available.How to bring the HTML option there?
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 28 Dec 2007 at 6:54am
What version of Crystal are you using?
IP IP Logged
chitz
Newbie
Newbie
Avatar

Joined: 26 Dec 2007
Online Status: Offline
Posts: 32
Quote chitz Replybullet Posted: 11 Jan 2008 at 12:49am
.net 2003 is the version
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.030 seconds.