如何在水晶报表中合并行? [英] How to Merge Rows in Crystal Report?
问题描述
我使用Crystal Report Version = 10.2,Visual Studio 2008并在水晶报表中显示存储过程的结果
我的存储过程返回如下所示的输出
i am using Crystal Report Version=10.2 , Visual Studio 2008 and displaying the result of stored procedure in crystal report my stored procedure returns output as shown below
但我想要
提前感谢
推荐答案
c $ c> Com No。并在详细信息部分中显示子状态和日期的详细信息。
Use group for Com No.
and put the details of Sub - Status and Date in the details section.
最初它将类似于
---------------------------------------------
Com No. | Desc. | Status | Date |
---------------------------------------------
1 | a |
| sub | 01/01/2012|
| ack | 02/01/2012|
| inv | 03/01/2012|
---------------------------------------------
然后:
为组设置叠加。所以你会得到以下:
Use the section expert and set overlay on for the group. So you will get the following:
---------------------------------------------
Com No. | Desc. | Status | Date |
---------------------------------------------
1 | a | sub | 01/01/2012|
| ack | 02/01/2012|
| inv | 03/01/2012|
---------------------------------------------
将值 Com No
和 Desc
在框的中间是棘手的。如果您知道详细信息部分中的行数,您可以按比例增加组标题的高度,以获得结果:
Putting the value of Com No
and Desc
in the middle of the box is tricky. If you know the number of rows in the detail section, you can increase the height of the group header in proportion can give you the result:
---------------------------------------------
Com No. | Desc. | Status | Date |
---------------------------------------------
| sub | 01/01/2012|
1 | a | ack | 02/01/2012|
| inv | 03/01/2012|
---------------------------------------------
这篇关于如何在水晶报表中合并行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!