buffdaddy619
Technical User
Hello,
I created a report in Crystal 2008 and need some help. I have a subreport that generates a total by specialty. For examples:
Subreport
GF1 Allergy = 13160
GF1 EMERGENCY = 93308
I created a shared variable on the subreport to call onto my main report
@shared wrvu = //subreport
whileprintingrecords;
shared numbervar x := Sum ({@wRVU}, {PMG_BUDGET.SPECIALTY});
I linked my subreport to my main report using 3 parameters:
1. Start Date
2. End Date
3. Specialty
I placed the subreport in the Report Header of the main report (not surpressed or hidden).
I then created a formula to call the shared variable from the subreport to my main report:
@shared wrvu = //main report
whileprintingrecords;
shared numbervar x;
I then place this formula in GF1 which is grouped by specialty. When I run my main report for the specialties "Allergy" and "Emergency" the only number i get back from the subreport is for "Emergency". I can't seem to figure out why that is.
Any help would be appreciated. Thank you.
I created a report in Crystal 2008 and need some help. I have a subreport that generates a total by specialty. For examples:
Subreport
GF1 Allergy = 13160
GF1 EMERGENCY = 93308
I created a shared variable on the subreport to call onto my main report
@shared wrvu = //subreport
whileprintingrecords;
shared numbervar x := Sum ({@wRVU}, {PMG_BUDGET.SPECIALTY});
I linked my subreport to my main report using 3 parameters:
1. Start Date
2. End Date
3. Specialty
I placed the subreport in the Report Header of the main report (not surpressed or hidden).
I then created a formula to call the shared variable from the subreport to my main report:
@shared wrvu = //main report
whileprintingrecords;
shared numbervar x;
I then place this formula in GF1 which is grouped by specialty. When I run my main report for the specialties "Allergy" and "Emergency" the only number i get back from the subreport is for "Emergency". I can't seem to figure out why that is.
Any help would be appreciated. Thank you.