Solved

Define font size in formula

Posted on 2013-10-30
2
384 Views
Last Modified: 2013-11-18
Is it possible to define font size in formula?
@TextSize
E.g I have formula @TextSize and inside
string - text : “This is font size 9” And “This is size 10”
Can I put it in variable something as:
StringVar  CombinedText;
CombinedText:=??????
I need those parts to be font size 9 and another size 10.
How I can do that in formula?
0
Comment
Question by:Taras
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39613289
You can do that in a formula only if you have the formula return either HTML or RTF text that controls the font size in addition to the text.

You can do it with a text box and 2 formulas

Formulas 1 - Font9
“This is font size 9”

Formula2 - Font10
 “This is size 10”

Add a textbox to the report
Drag formula Font9 into the textbox
Type _AND_
Drag formula Font10 into the textbox
Double click the textbox and you can then choose the individual pieces in there and right click and use the format option to set the font size

mlmcc
FontSize.rpt
0
 

Author Closing Comment

by:Taras
ID: 39658253
Thanks a lot
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question