仅显示最后一页RDLC上的页脚 [英] Show the Footer Only on the Last Page RDLC

查看:309
本文介绍了仅显示最后一页RDLC上的页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在rdlc报告中,使用页脚会留下每页保留的空间量,



a所有页面上的空白区域,除了每个文档的最后一个页面内容不会被隐藏。



请给我一个解决方案消除没有页脚的空白区域。



谢谢

Hi

In rdlc report,using the footer would leave that amount of space reserved on every page,

a white space on all pages except the last of each document where the contents of the footer would not be hidden.

Please give me a solution for eliminate white space where no footer.

Thanks

推荐答案

第一:在你的页脚属性设置高度为0in。

其次 - 不要使用内置页脚。相反,请使用包含页脚详细信息的子报告。

现在,您需要在主报告中将子报告定义为尽可能薄(在实际的子报告中 - 安排您想要的数据。

现在添加页脚(在子报表中)您应该右键单击设计图面,指向插入,然后单击页脚(或者可以启用它)通过报告菜单 - >在BIDS中添加页脚。)

您可以将矩形放入页脚并将其隐藏属性设置为:

First: In your Footer property set height to 0in.
Second- don't use the build-in Footer. Instead, use a sub-report that will contain your footer details.
Now, you need to define the sub-report as thin as possible in the main report (while in the actual sub-report - arrange your data as you want).
now add a page footer(in your sub report) you should right-click on the design surface, point to Insert, and then click Footer (Or it can be enabled through the Report menu –> Add page footer in BIDS ).
You could put the rectangle into a page footer and set its Hidden property to:
=Globals.PageNumber<Globals.TotalPages



拉伸矩形以覆盖所有页脚区域,然后你就好了 - 页脚将不会显示,直到最后一页。

我认为它会解决你的目的。


Strech the rectangle to cover all the footer area, then your are good - the footer will not be displayed until the last page.
I think it will resolve your purpose.


这篇关于仅显示最后一页RDLC上的页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆