0

我想对文本框的背景颜色进行条件格式设置。我想要这样的东西。如果我可以使用 If - else 语句,它仍然可以。

  =Switch

     (
       (First(Fields!Risk_Level.Value, "BBS_ID") = "high","Red"),
       (First(Fields!Risk_Level.Value, "BBS_ID") = "Medium","Orange"),
       (First(Fields!Risk_Level.Value, "BBS_ID") = "Low","Green")
      )
4

1 回答 1

2

以下应该有效:

=Switch(
        Fields!Risk_Level.Value = "high","Red",
        Fields!Risk_Level.Value = "Medium","Orange",
        Fields!Risk_Level.Value = "Low","Green"
       )
于 2013-04-09T09:11:25.880 回答