I have a main report with details of transactions. At the bottom of that report I have totals that are generated in the report. I have some code that will take the calculated totals in the report and dump them into a table. The next time I run this report for the next date range, I want to be able to take the values that I dumped into that table and use them as the opening balances for next period. So, I've created a sub report with the values in the table. Is there a way to sum something in the subreport to what is in the detail report?