
More crystal frustration -- why is this so hard?
Hi Mark,
Hi Mark,
Put a Diagnosis and Treatment header (in the Group section). Then
directly underneath (in the Detail section), put the Diagnosis and
Treatment fields. This should do what you want!
Otherwise, you have to use subreports, read up on it if you can. ie.
Diagnosis in the first Group and Detail and then in the footer
section, put a subreport that would be your Treatment info.
I bought Crystal Reports for Dummies because it was the only book
available in Duthies (Large book store!!) and I tell you...if you
are not a Dummy, there is no way you can figure it out!!
Bye,
Joanne
Quote:
>While never having considered myself a genius, I also never felt I was
>stupid, at least until I started working with crystal reports. I really do
>RTFM, and I cannot figure out simple things such as the following (please
>help!):
>I have a simple database with 3 tables:
> PATIENT
> DIAGNOSES
> TREATMENT
>I want to print a report that lists the patient info in the header, then I
>want a single section that lists ALL of the diagnoses together, then another
>section that lists ALL of the treatments together (the diagnoses and
>treatment tables are related to the patients table via a field "PatientID",
>which is the primary key of the PATIENT table and a foreign key in the other
>two tables).
>Crystal will not allow me to do this. Perhaps I do not understand their
>terminology. I created two sections, and put the fields from the DIAGNOSES
>table in one section, the fields from TREATMENT table in the other one.
>This is such a simple concept, but crystal won't do it for me. If I have 3
>records in DIAGNOSES and 2 records in TREATMENT, crystal prints out SIX
>sections. It first matches the 1st record in DIAGNOSES with every record in
>TREATMENT and prints a section for that. It then matches the second record
>in DIAGNOSES with every record in TREATMENT and prints that, and so on.
>So instead of something like:
> Diagnoses:
> Tuberculosis
> Asthma
> Diptheria
> Treatment:
> Aspirin
> Cough Syrup
>I get:
> Diagnoses:
> Tuberculosis
> Treatment:
> Asprin
> Diagnoses:
> Tuberculosis
> Treatment:
> CoughSyrup
> Diagnoses:
> Asthma
> Treatment:
> Asprin
> Diagnoses:
> Asthma
> Treament:
> Cough Syrup
>... and so on. I did RTFM and no help. This is such an incredibly simple
>concept and I can not make Crystal understand it. I have tried every
>possible permutation of its concepts of GROUPS, SECTIONS, etc. What the
>h--- am I missing?
>This is the most incredibly frustrating reporting tool I have ever seen in
>my life. Is this really all there is out there, or is there something
>better that works with Visual Basic?
>Thanks,
>Mark Alsip
>(please make obvious change to email to respond directly)
It would really be appreciated if you would copy posts
to me at jdavid at uniserve dot com