Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Master/Detail with 2 Detail-Tables Post Reply Post New Topic
Author Message
docpeter
Newbie
Newbie


Joined: 04 Dec 2007
Online Status: Offline
Posts: 2
Quote docpeter Replybullet Topic: Master/Detail with 2 Detail-Tables
    Posted: 04 Dec 2007 at 6:57am
Hello,
I've a project with a dataset of a mastertable and two detail tables (Master: patients on ward, detail1: diagnosis, detail 2: pending examination)
In table Patient, there is the room, patID and PatientTEXT, in table diagnosis the patID and Diagnosis-Text, in Exa-Table patID and Exa-Text, joined in the Dataset via 1:n patient to Diagnosis and patient to Examination.
Now I want to create a report, where the rom is the first group header, PatientTEXT the second group and under the patientText should be the details:
First the list of diagnosis
secodn the list of pending examinations.
 
I made it with details a / b or only one detail-part, but it doesn't work
 
I always get something like this
Room 13
Patient Miller, Tom *12/2/1958
    Diagnosis: fracture of something
    exa: X-Ray Head
    Diagnosi: fracture of something  (same as above!)
    exa: X-Ray leg
...
 
it should be:
Room xy
Patient Miller
     Diagnosis: Fracture of something
     diagnosis: Fracture of something ELSE
     EXA: X-Ray Head
     EXA: x Ray leg
Patient Smith
    Diagnosis (not avail.)  --> i make this for null-returns of DB by prog.
    Exa: (nothing planned)
 
...
 
How to do this??
 
THX!!!
 
Peter
 
 
 
IP IP Logged
docpeter
Newbie
Newbie


Joined: 04 Dec 2007
Online Status: Offline
Posts: 2
Quote docpeter Replybullet Posted: 05 Dec 2007 at 12:31am
Hello,
i solved it by using subreports.
Thx
Peter
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.