我有一个包含Tablix的报告,该Tablix又包含多个子报告。VS 2010 RDLC报告条件分页符
我需要在报表的每个页面之间有条件的分页符,这可以通过在Tablix中的最后一个子报表之后添加一个矩形来实现。然后,我将矩形设置为在最后有一个分页符,并使其可见性取决于传递给报表的参数。
这一切都正常工作,我得到报告重复部分之间的分页符,但是当分页符条件为真时,报告末尾会出现空白页。
有没有办法维护条件分页符,但最后没有空白页?
我的报告结构如下:
<Report>
<Body>
<Tablix>
<Rectangle>
<Rectangle>
<SubReport>1</SubReport>
<SubReport>2</SubReport>
</Rectangle>
<Rectangle>
<SubReport>3</SubReport>
<SubReport>4</SubReport>
</Rectangle>
<Rectangle>Page break rectangle with conditional visibility</Rectangle>
</Rectangle>
</Tablix>
</Body>
</Report>