在 SSRS 报表生成器中创建页脚与在 SSRS 报表生成器中创建页脚比较2016 不使用标准页脚功能“Make footer”

发布于 2025-01-15 16:40:15 字数 87 浏览 3 评论 0原文

我需要创建一个可以保留在报告每个页面底部的页脚,但我无法使用标准函数,因为我需要在其自身之前隐藏一些元素。

我希望我解释正确! 有人可以帮助我吗?

i need to create a footer that can stay at the bottom of every pages of the report, but i can't use the standard function because i need to hide some element before it self.

I hope that i've explained correctly!
Somebody can help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里寻她 2025-01-22 16:40:15

如果我理解正确,您应该能够通过创建矩形来保存报告内容来完成此操作。

如果您需要页眉、正文和页脚,则需要 3 个矩形,如果您只需要主体和页脚,则需要 2 个矩形。

为简单起见,假设页面高 29 厘米,底部 6 厘米将包含页脚。

您创建一个高 23 厘米、宽足够容纳您需要的元素的矩形。那么正下方的第二个矩形将是 6 厘米。

在每个矩形内,放置报告元素(文本框、表格等)。

注意:如果您的报告中已有报告元素,请不要将它们拖到矩形上,因为这实际上会覆盖它们,而是选择您需要的所有内容,然后剪切它们。然后单击矩形使其处于活动状态并粘贴它们,这样矩形将成为容器。如果您从新创建元素,那么您可以像平常一样将它们添加到矩形内。

所有正文和页脚元素就位后,将报表的“ConsumeContainerWhiteSpace”属性更改为 true。此属性将防止矩形随着表中的行数变大而扩展,因为它将首先使用容器中的空间。

If I've understood you correctly, you should be able to do this by creating rectangles to hold your report content.

If you need a header, body and footer then you would need 3 rectangles, if you only need the main body and a footer then 2 rectangles.

For simplicity, let's say you page is 29cm high and the bottom 6cm will contain the footer.

You create a rectangle that is 23cm high and wide enough to hold the elements you need in it. Then your seconds rectangle immediately below will be 6cm.

Within each rectangle, place you report elements (text boxes, tables etc).

Note: If you already have the report elements in your report, do not drag them over the rectangle as this will literally overlay them, instead, select everything you ned, then cut them. Then click in the rectangle to make it active and paste them, this way the rectangle will be the container. If you are creating the elements from new then you can add them within the rectangle as normal.

Once all your body and footer elements are in position, change the 'ConsumeContainerWhiteSpace' property of Report to true. This property will prevent the rectangle from expanding as the number of rows in a table gets larger, as it will use the space in the container first.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文