Click here to Skip to main content
13,093,245 members (74,129 online)
Rate this:
Please Sign up or sign in to vote.
Every body help me please, how to create this view with Crystal Report and
C# using MS. Visual Studio 2010. I have Setting the crystal report in my visual studio
but i can not create this design. i use oracle as a database service.

Data Patient
Name: Aura Bale
Address: Tokyo Street, No.77 Alabama.

Data Transaction
No. Description Value
1. Injection $100
2. Consultation $500
... ..... ....

n. ..... ....
Posted 18-Jul-12 17:38pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

No one can help you in designing it online.

We are not aware of data structure to be used and how they are related. You need to try out by yourself and then post specific issue if any. Talk to your teacher/boss for insights in case needed to start on.

For now, looks like there will be a table with group header - group having patient name and table with details of that patient. OR you can try using subreport.
Following might help:
C# Crystal Reports step by step - sureport[^]
MSDN: Crystal Reports - Tutorials and Sample Code[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Parsing Parameter for name, address and personal data of the patient.
And then use the RecordSelectionFormula for dynamic of transaction table data like this code:
crystalReport.RecordSelectionFormula = "Date({transaksi1.masuk}) = Date('" + datepicker.value + "') ";  

Put the name, address and other personal data in section 1 and transaction table in section 2 of CrystalReport.rpt

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 23 Sep 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100