SSRS 2005 发生分页符时将文本框和文本字段保持在一起
问题
我没有详细信息行或任何东西。我只有一个主体,然后拖动文本框来标记数据集中的文本字段。问题是,当其中一个字段的当前页面数据过多时,它会在字段的开头“分页”,将文本框(字段的标签)留在上一页上。
我尝试过的
将数据字段和文本框标签
a) 放在矩形内 - 不起作用
b) 列表内和矩形内的列表 - 不起作用
c) 在列表中,将 keep Together 属性设置为 TRUE 或 FALSE - 不起作用
问题
如何对文本框和文本字段进行分组,以便无论分页发生在何处,它都包含其标签?
Problem
I don't have a details row or anything. I have simply a body and I dragged on textboxes for labeling textfields from my dataset. The problem is when one of the fields has too much data for the current page, it "page-breaks" at the start of the field leaving the textbox (label for the field) behind on the previous page.
What I've tried
Put the data field and the textbox label
a) inside a rectangle - didn't work
b) inside a list and the list inside a rectangle - didn't work
c) inside a list with keep together property set to TRUE or FALSE - didn't work
Question
How would I group the textbox and the textfield so that regardless of where the pagebreak happens it includes its label?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将其改为表格(从工具箱中拖动表格元素)并将“保持在一起”选项设置为 true。因此,标签成为表头,表详细信息是数据集字段值,除非需要,否则删除页脚。你把你的标签和你的价值分组,然后它们现在一起移动。
Make it a table instead (drag a table element from toolbox) and set the keep together option to true. So the label becomes the table header, the table detail is the dataset field value and delete footer unless you need it. You get your label and your value grouped and they move around together now.
我能够让详细信息行保持在一起,但不能使组标题保持在一起。
打开高级模式。然后单击“行组”下的每一(静态)行,并在“属性”窗格中的每一行中设置 KeepTogether=True。
I was able to get the detail rows to stay together, but not the group header.
Turn on Advanced Mode. Then click on each (Static) row under the Row Group and set KeepTogether=True in each one in the Properties pane.