如何在列表中创建多个组,SSRS 2005?

发布于 2024-07-30 09:18:55 字数 183 浏览 1 评论 0原文

我在一份报告中使用了列表。 它在字段上有详细分组,并具有子报表之类的控件。 现在我的要求发生了一些变化,我需要在现有组周围有一个外部组,并在外部组上有一个分页符。

我该怎么做呢? 我尝试使用相同的列表,但无法弄清楚如何创建内部和外部分组。 我是否必须使用嵌套列表,其中外部列表​​进行外部分组,内部列表进行内部分组?

I am using a List in one of my reports. It has a detail grouping on a field, and controls like subreports. Now my requirements changed a bit and I need to have an outer group around the existing one, and a page break on the outer group.

How do i do this? I tried using the same list, but couldn't figure out how to create an inner and outer grouping. Do I have to use nested lists, where the outer list has does the outer grouping and the inner list does the inner grouping?

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

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

发布评论

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

评论(1

寻找一个思念的角度 2024-08-06 09:18:55

你的猜测是正确的。

您需要将另一个列表控件添加到报表中。 将现有的 List 控件拖到新控件中。 在新列表控件的属性下,转到“编辑详细信息组”并将所需列添加到“组”中。 接下来,选择“开始分页符”或“结尾分页符”以添加分页符。 报告设计的其余部分将确定哪个是最合适的。

此答案假设外部组的值已位于现有列表的数据集中。 如果该假设不正确,您需要将该列添加到数据集中。

Your guess is correct.

You'll need to add another List control to the report. Drag the existing List control into the new control. Under the properties for the new List control go to "Edit details group" and add to needed column to the "Group on". Next, select either "Page break at start" or "Page break at end" to add the page breaks. The rest of the report design will determine which is most appropriate.

This answer assumes that the value for the outer group is already in the dataset for the existing list. If that assumption is incorrect, you'll need to add the column into the dataset.

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