Hello - I have a main report (from orders table) with one subreport (from workflow table). Both have one grouping on year with counts by year. I want to pass the count from the subreport to the footer of the main report.
Using Crystal XI
In the subreport I have @Shared Enrollments:
Shared numberVar Enrollments:= Count ({KTI_PFND_Workflow.cmp_code}, {@Fiscal Years});
In group header on the main report I have a reset:
Shared numberVar Enrollments := 0;
The subreport is in the detail section of the main report
In the group footer on the main report I have @Shared Enrollments:
Shared numberVar Enrollments;
All I get is zeros. What am I doing wrong? I've also tried removing the reset and putting the subreport in the page header, in which case I get only the last total from the subreport; repeated for each year.