I've been working on this for MUCH TOO LONG and I can't get it.
I've got a main report that is group by Therapist and a subreport that is also grouped by the therapist. I'm linking the two reports by the same field and service dates. The sub report shows up in the right place on the main report. The problem is on my subreport I have a running total field named TotalHoursWorked. From this running total I created a shared variable called HoursWorked with the following formula:
WhilePrintingRecords;
Shared numberVar HoursWorked := ({#TotalHoursWorked});
In the Main Report the Shared Variable field is HoursWorked and its formula is:
WhilePrintingRecords;
Shared numberVar HoursWorked
The problem is the numbers don't match. For instance the field in the subreport will be 74 and in the main report it will be 10??????????????
This is my first try with both subreports and variables so any help would be gratefully appreciated.
Thanks Kim
I've got a main report that is group by Therapist and a subreport that is also grouped by the therapist. I'm linking the two reports by the same field and service dates. The sub report shows up in the right place on the main report. The problem is on my subreport I have a running total field named TotalHoursWorked. From this running total I created a shared variable called HoursWorked with the following formula:
WhilePrintingRecords;
Shared numberVar HoursWorked := ({#TotalHoursWorked});
In the Main Report the Shared Variable field is HoursWorked and its formula is:
WhilePrintingRecords;
Shared numberVar HoursWorked
The problem is the numbers don't match. For instance the field in the subreport will be 74 and in the main report it will be 10??????????????
This is my first try with both subreports and variables so any help would be gratefully appreciated.
Thanks Kim