多行水晶报表 [英] crystal report with multiple rows

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

问题描述

大家好,

我需要一个包含第一列(ID)单值和第二列内容(多个值)的水晶报表.
我有一个包含多个内容的ID字段,但是当将其显示为Crystal报表ID时,它也会显示多个时间,但是我不需要我只需要显示一次ID及其内容. >
id内容
1本书

墨水
笔记本

2个铅笔盒

long notebook

hi everyone,

I need a crystal report with a first column (ID)single value, and second column contents (multiple value).
I have a ID field which have multiple numbers of contents , but when display it to Crystal report ID are also displayed multiples time but i don''t need that i need to display ID only single time and its contents as many.

id content
1 book
pen
ink
notebook

2 pencilbox
pen
long notebook

推荐答案

使用Crystal Reports分组选项.

右键单击报告并添加分组",然后选择要分组的字段.您的情况是ID字段.
use Crystal Reports Grouping options.

Rightclick on Report and Add Grouping, then select field on which you want to grouping. in your case it would be ID field.


您好,Gopal,
我认为有两种方法可以实现这一目标.
1)使用分组
在此,您可以按ID在Crystal报表中创建组,并在此字段的属性中禁止如果重复".
2)禁止重复.
如果数据是按ID排序",则此选项也不错.只需右键单击id字段并选择Property,然后检查是否重复即可.
Hi Gopal,
I think there is two way to achieve this.
1) Using Grouping
In this you can create group in Crystal report by ID and Suppress If Duplicate in this field''s Property.
2)Suppress if Duplicate.
If Data is Order by ID then this option is also good. Just Right click id field and Select Property and check suppress if Duplicate.


这篇关于多行水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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