A
Access User
I'm trying to print totals in a group header section on a report, but I'm
not getting the results I'm looking for. I have two hidden counters in the
StudentID_Header_Section--one keeping a running sum over the group, and the
other keeping a running sum over all--but I want to print the group sum in a
previous header. The grand total is correct, but the total printing in the
previous group header is incorrect. What am I doing wrong?
Here's the report design:
School_Name_Header_Section
[School_Name] [Total_Students]
ControlSource:
=[RunningSumOverGroup]
StudentID_Header_Section
[RunningSumOverGroup] [RunningSumOverAll]
ControlSource: =1 ControlSource: =1
Report_Footer_Section
[Grand_Total_Students]
ControlSource:
=[RunningSumOverAll]
Here's the report output:
School_A Total Students: 1
Student 1
School_B Total Students: 1
Student 2
Student 3
School_C Total Students: 1
Student 4
Grand Total Students: 4
Thanks for any help,
Alec
not getting the results I'm looking for. I have two hidden counters in the
StudentID_Header_Section--one keeping a running sum over the group, and the
other keeping a running sum over all--but I want to print the group sum in a
previous header. The grand total is correct, but the total printing in the
previous group header is incorrect. What am I doing wrong?
Here's the report design:
School_Name_Header_Section
[School_Name] [Total_Students]
ControlSource:
=[RunningSumOverGroup]
StudentID_Header_Section
[RunningSumOverGroup] [RunningSumOverAll]
ControlSource: =1 ControlSource: =1
Report_Footer_Section
[Grand_Total_Students]
ControlSource:
=[RunningSumOverAll]
Here's the report output:
School_A Total Students: 1
Student 1
School_B Total Students: 1
Student 2
Student 3
School_C Total Students: 1
Student 4
Grand Total Students: 4
Thanks for any help,
Alec