问题描述
我有一个组标题,我试图在每个页面上重复该组标题(如果该组实例的详细信息行跨越多于一页)
I have a group header that I'm trying to repeat on each page (if the detail rows for that instance of a group span onto more than one page)
例如,如果我在商店里有食品,我按类别对它们进行分组,然后使用类别作为标题,我会得到这样的报告
For example, if I have food items in a store, and I group them by category and I use the category as a header I'll get a report like this
蔬菜
辣椒
胡萝卜
肉
鸡肉
牛肉
.
.
.
等
如果其中一个类别的列表进入第二页,我希望类别标题重复.因此,如果组的实例进入第二页,我希望该组的标题在每一页上重复.
If the listing for one of the categories goes onto a second page, I would want the category header to repeat. So if the instance of the group goes onto a second page I want the header of that group to repeat on each page.
我在报告服务中的设置是这样的:
The setup I have in reporting services is like this:
红色圆圈是我试图在每一页上重复的表格行.
The red circle are the rows of the table I'm trying to get to repeat on each page.
这可以吗?如果是这样,我该怎么做?
Is this possible to do? And if so, how do I do it?
我已经尝试将圈出的两行设置为KeepWithGroup = After"和RepeatOnNewPage =True",并且我将 Tablix 设置为一个整体以选中在每个页面上重复标题行".
I have already tried setting the two rows circled to have "KeepWithGroup = After" and "RepeatOnNewPage = "True" and I set the Tablix as a whole to have "Repeat header rows on each page" checked off.
推荐答案
您可以查看以下网站;
在不重复的组头时帮助了我几次.
Helped me a few times when group-headers where not repeating.
这篇关于在报告的每一页上重复组标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!