May 24, 2018 at 7:07 am
In SSRS 2016 Enterprise -- I need to HIGHLIGHT a cell BOLD/RED "IF" it contains the value N (that's the letter "N") otherwise leave the cell as normal, black.
How do I do this? thx for any help here!
May 24, 2018 at 7:23 am
thx for the quick reply. When I look at my txt box properties (text box is named [Active]), I right mouse click, then click fx Expression, I see: =Fields!Active.Value
What syntax would I use to allow this to RED/BOLD this text box IF it contained the value: N
(sorry, somewhat new to this feature..)
May 24, 2018 at 7:30 am
If you right click the text box and select expression you're setting the expression for the value of the textbox, not its properties. You need to be in the properties of the textbox to amend the properties of it (surprise! 🙂 ). So, for example, for bold the expression would be:=IIf(Fields!Active.Value = "N", "Bold", "Normal")
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
May 24, 2018 at 9:30 am
I
Scrub that, misread Thom's post, my bad :blush:
Far away is close at hand in the images of elsewhere.
Anon.
May 30, 2018 at 1:28 pm
Thom A - Thursday, May 24, 2018 7:30 AMIf you right click the text box and select expression you're setting the expression for the value of the textbox, not its properties. You need to be in the properties of the textbox to amend the properties of it (surprise! 🙂 ). So, for example, for bold the expression would be:=IIf(Fields!Active.Value = "N", "Bold", "Normal")
And in addition, a similar expression will be needed for the Font Color property.
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply