如何合并在水晶报表行? [英] How to Merge Rows in Crystal Report?

查看:183
本文介绍了如何合并在水晶报表行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用水晶报表版本= 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

但我想如下图所示。

在此先感谢

推荐答案

使用组的COM否,把分的细节。 - 状态和日期的细节部分。

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的值否说明在盒子的中间是棘手。如果你知道行的细节部分的数量,可以增加按比例组头的高度可以给你造成的:

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屋!

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