组创建在 Parent 的右侧 [英] Group is created to the right of Parent

查看:36
本文介绍了组创建在 Parent 的右侧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一生都无法弄清楚如何将子组添加到父组,而是让该子组位于父组行下方.现在,如果我右键单击父组并添加一个子组..它会添加一个子组,但会添加到报告中第一个父组单元格的右侧.

I cannot figure out for the life of me how to add a sub group to a parent group but to have that sub group sit below the parent group row. Right now if I right click the parent group and add a child group..it adds a child group but to the RIGHT of the first parent group's cell in the report.

有人吗??你到底是怎么让子组坐在父行下面的?

Anyone?? How the heck do you get child groups to sit below the parent row?

例如,我的报告将有一个包含 CarType 的父组对于每个 Car Type 组,它都有几个相关的汽车名称

For example my report will have a parent group that holds a CarType For each Car Type group, it has several related car names

------------------------------------------------
Honda
Field1   3   4   54  534
Field2   5   3   44  455
------------------------------------------------
Accord
Field1   53  3   43  222
Field2   5  22   24  423

Pilot
Field1   4  3    5   221
Field2   5  27   24  423

..... rest of the car types for honda


------------------------------------------------
Toyota
Field1   3   4   54  534
Field2   5   3   44  455
------------------------------------------------
Camry
Field1   53  3   43  222
Field2   5  22   24  423

xxxx
Field1   4  3    5   221
Field2   5  27   24  423

..... rest of the car types for camry

等等.所以我们不希望孩子们缩进(我不确定这是否现在不会被踩或什么......这就是我遇到的问题,因为网络上的每个例子都向你展示了如何做一个阶梯式报告,但显示子组缩进了一点,这是我们出于 x 业务原因不想要的.

and so on. So we don't want the children to be indented (I'm not sure if this is now not going to be stepped or what..that's what I'm having trouble with cause every example out there on the net shows you how to do a stepped report but shows the the child group indented in a little which we don't want for x business reasons.

我无法在报告中让这组父/子行看起来像这样.我想要嵌套(父/子),但子应该从左对齐开始,而不是在查看数据时相对于父缩进.

I can't get this parent/child set of rows to look like this in the report. I want nested (parent/child) but child should be starting flush left, not indented in relation to the parent when viewing the data.

这是另一个报告中的示例,您可以看到堆叠的组:

Here is an example in another report and you can see the groups stacked:

另一个报告中的另一个例子

another example in another report

推荐答案

可能有不止一种方法可以做到这一点,但我将解释这种方法以使其易于理解.

There's probably more than one way to do this, but I'll explain this way to keep it easy to follow.

  1. 从一个表格开始,将您的子组添加到详细信息行的第一列.
  2. 右键单击包含子组的单元格,指向添加组,然后单击行组部分中的父组.
  3. 在分组依据下拉列表中,选择父组并选中添加组标题复选框,然后单击确定.另一列添加到详细信息组的左侧,行组窗格现在显示父组和子组.在表头和子行(详细信息行)之间出现一个新行
  4. 删除新列.
  5. 将父字段添加到详细信息行上方行的第一列.

这篇关于组创建在 Parent 的右侧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆