Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
harlingtonthewizard
Constraint Violating Yak Guru
352 Posts |
Posted - 2008-10-02 : 06:49:50
|
I need to set a font colour in reporting services. I have set the colour property to:=IIF(ISNULL(Fields!Comments.Value), "Green","Red")but this does not work?This works:=IIF(Fields!Comments.Value = "c1", "Green","Red")but I need to set when ISNULL as I am doing a LEFT JOIN with this field. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-02 : 06:52:19
|
[code]=IIF(Fields!Comments.Value Is Nothing, "Green","Red")[/code]or[code]=IIF(Len(Fields!Comments.Value) = 0, "Green","Red")[/code] |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-10-02 : 06:55:01
|
=IIF(Fields!Comments.Value Is Nothing, "Green","Red")is same thing as=IIF(Fields!Comments.Value > '', "Red", "Green") E 12°55'05.63"N 56°04'39.26" |
|
|
harlingtonthewizard
Constraint Violating Yak Guru
352 Posts |
Posted - 2008-10-02 : 06:56:08
|
Thankyou :) |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-02 : 07:04:52
|
quote: Originally posted by harlingtonthewizard Thankyou :)
Also suggest you post these questions in Reporting Services forum as its related to SSRS. |
|
|
|
|
|