albertross
Programmer
I have a report with 3 subreports that is passing variables to main report. The last subreport passes correctly but the other 2 which pass multiple times depending on a group break are always one goup behind; that is the first time it passes zero and the second group total passes the answer of the first group,etc.
I have WhilePrintingRecords;
Shared numberVar Totalprt;
Totalprt := {@alwcbp} in the group footer section below the group footer which contains (@alwcbp) in the supreport and WhilePrintingRecords;
Shared numberVar Totalprt;
Totalprt;
in a footer section below the section with the subreport in it on the main report.
Hope this explains the problem.
I have WhilePrintingRecords;
Shared numberVar Totalprt;
Totalprt := {@alwcbp} in the group footer section below the group footer which contains (@alwcbp) in the supreport and WhilePrintingRecords;
Shared numberVar Totalprt;
Totalprt;
in a footer section below the section with the subreport in it on the main report.
Hope this explains the problem.