Running Total in a report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi folks,

I have a report that contains multiple columns of numbers. I want to provide
a running total (not a page total) at the bottom of each page.

I have managed to get a running total at the end of each group(by month),
but sometimes, like when a month is broken over 2 pages, I would like to
have the 'total to date' at the foot of the page.

Any ideas?

Thanks in advance

Kenny
 
Try this...
Add a text box within the group you want to total.
Initialize its Control Source value with an expression
that pulls out the first value in the group, such as =
[myfirstnumber]. Set this text box's Running Sum property
to Over Group. Access will name this box something like
Text1.
Add another text box to the page footer. Set its
Control Source value to =Text1 (or whatever the name of
the text box from above is).
You can make the first box invisible if you want.
Run the report. The value in the footer text box will
be whatever the running sum was when the page broke.

Hope this works for you.
 
Back
Top