Online Example: How to implement running totals across report pages
This tutorial describes how to calculate a running summary, which a built-in summary function.
See Calculate a Summary to learn about an alternative approach to calculating summaries.
See Data Binding Modes to learn more about the available binding modes.
A running summary differs from a standard summary in that it adds the current summary value to the previously calculated summaries:
Do the following to calculate a running summary in a report:
Start with a report that is bound to the sample Northwind database's Products table (the nwind.mdb file included in the XtraReports installation). See Provide Data to Reports to learn more about binding a report to a data source.
Add the GroupFooter band to the report to display a summary at the bottom of each group. For example, you can use the Group and Sort panel.
Click the label's smart tag, and in its actions list, set the Summary Running property (XRSummary.Running) to Group to calculate the summary for each group in the report.