Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Reporting Services Mix Regular and Bold Font in a text box

Posted on 2005-04-15
Medium Priority
Last Modified: 2013-12-03
I have created a report that simulates a letter. The body of the letter is rendered by a text box with text and carriage returns (VbCrlf). Some, but not all of the text needs to be a bold font. I checked the properties on the text box and you can set the font for the text box but it is an all or nothing proposition. I opened up the .rdl source code and was unable to figure it out. I would like to keep all of the text in this one text box as the letter is formatted correctly. I fear that if I break up the text into 2 or more text boxes it could throw the formatting off. Can anyone help??
Question by:pscit04
LVL 44

Accepted Solution

Arthur_Wood earned 2000 total points
ID: 13792972
If the text is rendered in a SIMPLE textbox, then you can only associate ONE font, with the entire textbox.  To be able to have mixed fonts, (or Sizes, or colors of text for that matter), within a 'textbox', you need to utilize a Rich TextBox Control - and that may or may NOT be possible within the context of a report.  Never tried, so can't answer that part.  But in any case, what you need is RICH TEXTBOX CONTROL, and if that is not possible then the formatting you ask about is also not possible.


Expert Comment

by:Fred Goodwin
ID: 13810223
Like AW said you can not do this out of the box with SQL RS.  We had to use textbox's back to back and apply whatever style to each box that we wanted.  Its a pain but its a limitation of SQL RS

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

564 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