Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Comments
Chandra Mohan N 29-Apr-14 7:36am    
Do grouping Data shown in the link for different types

http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.businessobjects.integration.eclipse.doc.crdesigner/reportdesigner/crurftopnsortgroupexpert.htm

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900