Reputation: 921
I have a requirement to set Red colour for Outcome column = NULL values
I am using below expression on the Count(StudentID) Text box:
=IIF(IsNothing(Fields!Outcome.Value), "Red", "Transparent")
For Outcome textbox, I am using this expression:
=IIF(IsNothing(Fields!Outcome.Value), "NULL", Fields!Outcome.Value)
But I am unable to see any color change.
Can you please suggest how to resolve this?
Thanks,
AR
Upvotes: 0
Views: 4650
Reputation: 11
You can use the Me.Value function to refer to the actual value of the cell you are setting the color expression for, rather than referring to the value of a Field.
=IIf(Me.Value = "NULL","Red","Transparent")
Upvotes: 1