Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services 安全部门改革。更改特定字段的背景色_Reporting Services_Background_Ssrs 2008_Report - Fatal编程技术网

Reporting services 安全部门改革。更改特定字段的背景色

Reporting services 安全部门改革。更改特定字段的背景色,reporting-services,background,ssrs-2008,report,Reporting Services,Background,Ssrs 2008,Report,我正在使用Visual Studio 2013创建报告。我需要编写expresion来更改以下背景字段: 现在我有一个表达: =IIf(行数(无)模式2=0,“灰色”、“白色”) 如果我在表行的BackgroundColor属性上使用它,它将返回以下内容: 正如您在表的左侧看到的,我有3个分组行,我需要重写表达式,根据组或(3白色/3灰色/3白色/3灰色等)的不同,它在右侧改变了颜色。未测试,但我认为这应该可行,假设每个组始终有3个细节行: = IIf((RowNumber(Nothing)

我正在使用Visual Studio 2013创建报告。我需要编写expresion来更改以下背景字段:

现在我有一个表达:

=IIf(行数(无)模式2=0,“灰色”、“白色”)

如果我在表行的
BackgroundColor
属性上使用它,它将返回以下内容:


正如您在表的左侧看到的,我有3个分组行,我需要重写表达式,根据组或(3白色/3灰色/3白色/3灰色等)的不同,它在右侧改变了颜色。

未测试,但我认为这应该可行,假设每个组始终有3个细节行:

= IIf((RowNumber(Nothing) \ 3) Mod 2 = 0, "Grey", "White")

需要明确的是:现在它看起来像底图,而你想让它看起来像顶图?