Making text bold in SSRS depending on field's value?

It's like this earlier answer of mine which shows how to do a similar thing for text color. Select the Text1 cell in the report, and then from the Properties window, find "FontWeight" and hit the drop-down, and choose "Expression".

Up vote 0 down vote favorite 1 share g+ share fb share tw.

I want to make some text bold and underlined, if the the value of field in my database is, say "HD" I mean, I have two fileds in the database. Text1 and Header. I display the Text1 in my report and if Header's value is "HD", then Text1 should be in bold and fontsize should be 12.

Otherwise, just show it normally. How to do it? Thanks Furqan reporting-services ssrs-2008 ssrs-reports link|improve this question asked Feb 26 '11 at 18:27Furqan Sehgal902318 60% accept rate.

It's like this earlier answer of mine which shows how to do a similar thing for text color. Select the Text1 cell in the report, and then from the Properties window, find "FontWeight" and hit the drop-down, and choose "Expression". The expression you want will be something along the lines of: =iif(Fields!Header.

Value = "HD", "Bold", "Normal") ...basically, you're setting the Property "FontWeight" of Text1 to be "Bold" when Header is "HD", otherwise you're setting it to "Normal". You'd do a similar thing for the FontSize property: =iif(Fields!Header. Value = "HD", "12pt", "9pt") (Obviously, set "9pt" to whatever font size is set normally at the moment!

).

Works great! Thanks – Furqan Sehgal Feb 27 '11 at 17:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions