Skip to Content
1
Former Member
Apr 13, 2010 at 09:10 PM

Passing Totals From Subreport To Main Report

617 Views

I have four (4) reports imbedded into my main report. I'm trying to pass totals from the subreports to my main report. The totals are derived from "Count" from "Insert Summary". Below is the concept that I'm using to accomplish this. How can I add each total from each subreport resulting in a "Grand_Total" on the main report ?

Subreport #1

Shared Total#1

Subreport #2

Shared Total#2

Subreport #3

Shared Total#3

Subreport #4

Shared Total#4

Main Report

NumberVar Grand_Total;

Grand_Total := 0;

Grand_Total = Total#1 + Total#2 + Total#3 + Total#4