Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Define font size in formula

Posted on 2013-10-30
2
Medium Priority
?
400 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 101

Accepted Solution

by:
mlmcc earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

916 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