SSRS 2008中组的条件分页符

时间:2015-01-22 10:39:01

标签: reporting-services ssrs-2008 ssrs-tablix ssrs-grouping

我正在处理一个报告,其中需要在一个组上使用条件pageBreak。我试图设置PageBreak(该组的)的禁用属性,但它对我不起作用。 disabled属性不工作我将其设置为true或提供一些表达式但BreakLocation属性正常工作。请帮忙。

2 个答案:

答案 0 :(得分:0)

您可以使用基于表达式的分页符,这取决于您的确切表格设置,可能会有用。

基本上,您设置一个参数来控制是否应用分页符。

群组级别,有分页符选项 - 将分页符属性设置为您需要的属性,然后设置禁用属性是基于表达式的,例如:

=IIf(Parameters!Break.Value, false, true)

enter image description here

enter image description here

这意味着分页符只会应用 Break 参数设置为true。

<强>更新

设置Disables like,

的表达式
= IIF(Parameters!Section.Value = 1,false,true)

BreakLocationEnd

答案 1 :(得分:0)

如果您使用IIF(Parameters!Section.Value = 1, false, true)

您必须设置BreakLocation = End