Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: In a formule part of text bold Post Reply Post New Topic
Author Message
lvmarle
Newbie
Newbie


Joined: 25 May 2007
Location: Netherlands
Online Status: Offline
Posts: 2
Quote lvmarle Replybullet Topic: In a formule part of text bold
    Posted: 25 May 2007 at 6:39am
Hello,
 
I'm working on a report, this report contains a subreport in which I have some formules.
This formule contains a number of fields. Some of those fields I want to introduce with a text:
 
"T " + {telephonenumber} + ", F " + {faxnumber}
 
All the formule I want 'normal' text, but the font of the 'T' and the 'F' I want bold.
 
I found the function crBold, but I can't find out how to use it in this case.
 
 
Greetings, L. van Marle
IP IP Logged
EscApe
Newbie
Newbie


Joined: 13 Nov 2006
Location: Finland
Online Status: Offline
Posts: 37
Quote EscApe Replybullet Posted: 28 May 2007 at 10:53am
Function crBold is to be used with Conditional formatting only (those X+1 buttons on different windows).

You want to format parts of the text with different formats. To do this, you need to build your text in Text Object instead of Formula Field.

- Add Text Object to your report (Insert | Text Object)
- Write static texts - in your example: T[space], F[space]
- Drag {telephonenumber} from Field Explorer to Text Object after character T
- Drag {faxnumber} to text object to its place

And to format letters T and F:
- "paint" T and click Bold button on Format Toolbar and repeat this with F
IP IP Logged
lvmarle
Newbie
Newbie


Joined: 25 May 2007
Location: Netherlands
Online Status: Offline
Posts: 2
Quote lvmarle Replybullet Posted: 29 May 2007 at 2:17am

Thanks for you're reply.

I already tried this, but some printers will not print this. Confused

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.031 seconds.