我在2012 SSRS的報告,它交替使用表達式顏色填充像這樣:可能通過交替顏色突出顯示SSRS中的文本框?
= IIf (RowNumber(Nothing) Mod 2 = 0, "WhiteSmoke", "White")
我想基於字段的值,以突出顯示一個域(在這種情況下,它稱爲R)。我嘗試這樣做:
= IIf (Fields!R.Value > 5, "Yellow" ,(IIf RowNumber(Nothing) Mod 2 = 0, "WhiteSmoke", "White"))
但是當我預覽報告我得到一個錯誤。
The BackgroundColor expression for the text box 'R' contains an error: [BC30516] Overload resolutoin failed because no accessible 'IIf' accepts this number of arguments.
我如何能實現我想要什麼?
你確定這不僅與國際金融研究所/括號語法錯誤? – 2013-04-20 19:19:45
不,我不確定!第一個表達工作正常,第二個表達沒有。 – 2013-04-20 19:21:05