Report Services:控制表格内的分页符 [英] Report Services: Controlling page breaks inside a table
问题描述
我在报告中使用表格来呈现数据.由于数据量很大,我想在 A4 纸上打印报告,我将每一行分成 3 行.
I'm using a table on my report to present the data. Since it was a lot of data and I wanted to print the report on a A4 page, I split each row into 3 different rows.
我的问题是当报告进入第二页时,我希望它在 3 行之前或之后中断.
My problem is when the report goes to the second page, I want it to break before or after the 3 rows.
示例:
姓名年龄
地址
联系方式
name age
address
contact
姓名年龄
地址
联系方式
name age
address
contact
姓名年龄
地址
* 分页符 *
联系
这是正常情况.我想确保分页符只发生在行上.
this is what normally happens. I want to ensure that the page break only happens on the lines.
推荐答案
我最终创建了一个子报表来表示每个项目.
I'm ended up creating a subreport to represent each item.
我查找了 KeepTogether 属性,但这可能仅适用于 2008 年的报告服务(我使用的是 2005 年).
I looked for the KeepTogether property but that's probably only for reporting services 2008 (I'm using 2005).
这篇关于Report Services:控制表格内的分页符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!