Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Simple formatting question Post Reply Post New Topic
Author Message
Paul46
Newbie
Newbie


Joined: 19 Feb 2008
Online Status: Offline
Posts: 22
Quote Paul46 Replybullet Topic: Simple formatting question
     Posted: 19 Mar 2008 at 6:20am
I have the following formula:

If xxxx etc.
Then    "   xx    "  etc.
Else    cStr ({@CompStartTime}, "H:mm")

My simple question is how do i get @CompStartTime in Bold with a formula?

I tried: CStr, crBold ({@CompStartTime}, "H;mm") and more different things, but can't get it right.

Many thanks for helping

Eric



IP IP Logged
fusion
Groupie
Groupie


Joined: 12 Nov 2007
Location: United States
Online Status: Offline
Posts: 93
Quote fusion Replybullet Posted: 19 Mar 2008 at 8:23am

I do not know how you could do that in formula but why don't you format the formula filed in the report itself if you just want the records to appear in bold?

IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 19 Mar 2008 at 9:34pm
Eric you can do it in the format section of the column as follows
 
Right click on field (column) you want to make bold and select Format Field and go to Font page in the Format Editor. Click on Formula sign next to the Style drop down and write the following formula:
 
If xxxx etc. Then   
    crRegular
Else  
    crBold
Thanks
Savan
IP IP Logged
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