分别在最后一页显示文本框

分别在最后一页显示文本框

本文介绍了SSRS 分别在最后一页显示文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在报告正文中显示一个文本框,但它必须在单独的最后一页上.它实际上是一个需要在每个报告中显示的 Word 文件,但是看看 唯一的方法是把文件到报表服务器,然后通过链接访问它,我决定将文件的内容复制到文本框.

I need to display a Textbox in the body of the report, but it has to be on a separate last page. It is actually a Word file that needs to be shown in each report, but seeing as how the only way to accomplish this is to put the file to the Report Server and then access it with a link, I decided to copy the contents of the file to a Textbox.

这个这个 关于 SE 的问题是类似的,但这并不是我所需要的.

This and this question on SE are similar, however it is not exactly what I need.

推荐答案

您可以通过向报表添加带有适当分页符的项目来实现这一点.

You can achieve this by adding items with appropriate page breaks to the report.

假设我有一个带有表格和文本框的简单报告:

Say I have a simple report with a table and a textbox:

最终结果与您期望的一致:

The end result looks about what you'd expect:

但是,我们可以通过将文本框嵌入到 Rectangle 并将其设置为始终以分页符开头来强制将文本框放到新页面上:

However, we can force the textbox onto a new page by embedding it in a Rectangle and setting the Rectangle to always be preceded by a page break:

现在报告在最后一页显示文本框:

Now the report displays the textbox on the last page:

表格本身也可以有分页符,但由于它只是没有数据集的文本,所以在这里使用矩形对我来说是有意义的.

Tables themselves can also have page breaks, but since it's just text with no dataset it makes sense to me to use a Rectangle here.

这篇关于SSRS 分别在最后一页显示文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 18:33