A
alex
Running sum on report
Hello,
Using Access ’03…
I have a report that’s structured like this:
Page Header
User Header
Month Header
Detail
Month Footer
Page Footer
The data looks similar to this:
‘’’’’’’’’’’’’’’’’’’’’’’’’
Jo Smith
January ActionCount ActionRate
Detail A 3 4
Detail B 8 4
Sum 11
Jo Smith
February ActionCount ActionRate
Detail A 1 9
Detail B 6 9
Sum 7
‘’’’’’’’’’’’’’’’’’’’’’’’
What I cannot seem to figure out, is a way to sum (running sum) the
ActionRates. What I want is one action rate per month (it will always
be the same per month).
For example: January is 4; Feburary is (4) + 9 = 13.
To get a running sum in the Month Footer, I’ve been trying this in an
unbound textbox: =sum([ActionRate]) and then setting running sum to
over group. What happens, however, is that the action rates are
counted for every detail; e.g., 4 + 4, and 9 + 9. I only want 4 + 9.
I tried putting the calculations in different headers/footers with no
luck, thinking that I needed to isolate the ActionRate once per month.
I even tried to get a little tricky by summing the action rates and
then dividing by the record count. Problem is, the record count is an
unbound textbox that cannot be used in a calculation (I keep getting
the parameter box when the report runs).
Any help/advice would be appreciated.
Thanks,
alex
Hello,
Using Access ’03…
I have a report that’s structured like this:
Page Header
User Header
Month Header
Detail
Month Footer
Page Footer
The data looks similar to this:
‘’’’’’’’’’’’’’’’’’’’’’’’’
Jo Smith
January ActionCount ActionRate
Detail A 3 4
Detail B 8 4
Sum 11
Jo Smith
February ActionCount ActionRate
Detail A 1 9
Detail B 6 9
Sum 7
‘’’’’’’’’’’’’’’’’’’’’’’’
What I cannot seem to figure out, is a way to sum (running sum) the
ActionRates. What I want is one action rate per month (it will always
be the same per month).
For example: January is 4; Feburary is (4) + 9 = 13.
To get a running sum in the Month Footer, I’ve been trying this in an
unbound textbox: =sum([ActionRate]) and then setting running sum to
over group. What happens, however, is that the action rates are
counted for every detail; e.g., 4 + 4, and 9 + 9. I only want 4 + 9.
I tried putting the calculations in different headers/footers with no
luck, thinking that I needed to isolate the ActionRate once per month.
I even tried to get a little tricky by summing the action rates and
then dividing by the record count. Problem is, the record count is an
unbound textbox that cannot be used in a calculation (I keep getting
the parameter box when the report runs).
Any help/advice would be appreciated.
Thanks,
alex