SSRS 2008 导出到带有动态页脚的 MS Word

发布于 2024-08-20 03:14:57 字数 251 浏览 2 评论 0原文

我需要在报告的第一页上显示页脚,然后在后续页面上不显示页脚。

当我创建一个切换页脚中对象的可见性的报告时,它在 BIDS 中工作正常,当我导出到 PDF 时,但是导出到 MS Word 时,第一页的页脚会出现在每个页面上。

在我尝试过的其他测试中,除了页码之外,出现在报表页脚第一页上的任何内容在导出到 Word 时都会出现在每一页上。

有没有人知道如何创建页脚内容,该内容根据您所在的页面而变化,并且在导出到 MS Word 时持续存在?

I have a requirement to have a page footer show up on the first page of a report, and then no page footer on subsequent pages.

When I create a report that toggles the visibility of objects in the footer it works fine in BIDS, and when I export to PDF, however upon export to MS Word, the footer from the first page appears on every page.

In other tests I have attempted, it appears that other than the Page Number, anything that appears on the first page of a report's footer, will appear on every page when exported to Word.

Does anyone have ideas for how to create Footer content that changes depending on what page you are on, and will persist through the export to MS Word?

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

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

发布评论

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

评论(1

国粹 2024-08-27 03:14:57

这个答案来得太晚了,但对于任何其他与此相关的人,请参阅此处的 msdn SQL Server 导出到 Word 文章:

http://msdn.microsoft.com/en-us/library/cc627455(v=SQL.100).aspx

简而言之,不支持在报告中的任何位置切换状态。无论第一页上报表项的状态如何,它在整个导出的报表中都将处于该状态。考虑到这一点,PDF 似乎是一种更适合为您的客户提供支持的格式。

This answer is pretty late in coming to this user, but for any others fighting with this, please see the msdn SQL Server export to Word write-up here:

http://msdn.microsoft.com/en-us/library/cc627455(v=SQL.100).aspx

In a nutshell, toggling states anywhere in the report is not supported. Whatever the state of the report item is on the first page is what it'll be throughout the exported report. With that in mind, it appears that PDF will be a better format to support with your customers.

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