Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable in Crystal XI

Status
Not open for further replies.

Lightbug3

Programmer
Mar 30, 2006
15
US
Hi All!

I am creating a report that lists every prescription a person is taking and the "Disease State" it is in. In the Group Header I need to list all the Disease States that this person is taking a prescription for. However, I cannot figure out how to do it.

In the details section, I have a formula for disease state. The person can be taking prescriptions for the same disease states. Therefore, the detail section could look like:
Diabetes
Diabetes
CHF
Diabetes

In the Group Header I need to output:
Diabetes, CHF

Does anyone know how to do this?
Thanks.
Danielle
 
Hi,
What database?

What is the table structure..Is there a separate entry for each patient/prescription/disease combination?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Yes. There is a separate entry for each prescription/patient. My report is grouped by patient as well. Each patient gets one letter with all their prescriptions.
 
If your "Patient" grouping is "Group1" could the "Disease State" be "Group2" ie add it in as a group and then perhap suppress the detail section unless you really need it.

Your output would then look like:

Mr Patient 1
- Diabetes
- CHF

Hope this helps.
ShortyA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top