显示与新部分类似的记录 [英] Show Record of similar type as new section

查看:58
本文介绍了显示与新部分类似的记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,我是水晶报道的新手,我正面临着一些问题。如果你们其中一个人能帮助我,我将非常感激。我有以下格式的数据。



医生ChargeType id收费日期

Joshi博士咨询1 500 25/12/2001

Dr. Verma Laboratory 1 800 25/12/2001

Joshi博士咨询2 500 26/12/2001

Mukesh病理学博士2 700 26 / 12/2001



我需要以下格式的数据。



咨询费用

Joshi博士咨询500 25/12/2001

Joshi博士咨询500 26/12/2001



实验室收费

Dr. Verma Laboratory 1 800 25/12/2001



病理学费用

Mukesh博士实验室1 800 25/12/2001



我无法创建子报告,因为我不知道会有多少行,并且会有更多类型。

解决方案

使用群组,查看这篇文章

在ASP.NET中创建包含多个表的Crystal报表 [ ^ ]


根据重复字段向您报告组。

('Doctor'或'ChargeType'字段,如您所愿)

Dear friends i am new to crystal report, i am facing some of the problem . I will be very thankful if one of you guys can help me. I have data in following format.

Doctor ChargeType id Charges Date
Dr. Joshi consulting 1 500 25/12/2001
Dr. Verma Laboratory 1 800 25/12/2001
Dr. Joshi consulting 2 500 26/12/2001
Dr. Mukesh Pathology 2 700 26/12/2001

I need data in the following format.

Consulting Charges
Dr. Joshi consulting 500 25/12/2001
Dr. Joshi consulting 500 26/12/2001

Laboratory charges
Dr. Verma Laboratory 1 800 25/12/2001

Pathology charges
Dr. Mukesh Laboratory 1 800 25/12/2001

I can't create sub report because i don't know how many rows will there and there will be some more type.

解决方案

Use Groups, check this article
Creating Crystal Report with Multiple Tables in ASP.NET[^]


Insert a group to you report based on the repeating field.
('Doctor' or 'ChargeType' field as you want)


这篇关于显示与新部分类似的记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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