Others

Show a Report Footer Total on the Last Page in Microsoft Access

Steven ParkerSteven Parker Nov 27, 2026 870 views

Question details

The user wants a calculated total to appear in the page footer only on the final page of a multi-page Access report.

Show a Report Footer Total on the Last Page in Microsoft Access
Product
Microsoft Access
Device & OS
not provided
Scenario
A multi-page report needs to display an aggregate total in the last page footer.
Observed behavior
The calculated text box is currently in the Page Footer, where aggregate calculations cannot be performed.
Before you start

Open the report in Design View and identify the fields in its Record Source that are needed for the total. Check that the Report Footer and Page Footer sections are available; enable them from the Design tab if necessary.

Solution 1Recommended

Calculate the total in the Report Footer and display it on the last page

Use a hidden Report Footer control for the aggregate and a Page Footer control to display it only on the final page.

1
Add the aggregate control

In Design View, add a text box to the Report Footer. On the Property Sheet, set its Name to txtGrandTotal and its Control Source to an aggregate expression based on a field in the report's Record Source, such as =Sum([Amount]).

2
Hide the aggregate control

Select txtGrandTotal and set Visible to No on the Property Sheet. This keeps the calculation in the Report Footer without displaying that control.

3
Add the last-page display

Add a separate text box to the Page Footer and set its Control Source to =IIf([Page]=[Pages],[txtGrandTotal],Null).

4
Check the report

Open the report in Print Preview and navigate through its pages. Confirm that the total is blank on earlier pages and appears on the final page.

Calculate the total in the Report Footer and display it on the last page
Use record-source fields: Build the aggregate expression from fields in the report's Record Source and any required calculations, rather than names of controls generated in group sections.
Free Microsoft Office alternative

Work with report data in WPS Office

WPS Office is a free, lightweight alternative for working with office documents and spreadsheet data. Its familiar interface and Microsoft Office format compatibility make it easy to move compatible files between applications. It does not replace Microsoft Access for designing Access reports.

Review and calculate report data in WPS Spreadsheet.Open and edit Microsoft Excel XLSX and Word DOCX files.Use a familiar interface for everyday document and spreadsheet tasks.Work with a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I calculate the aggregate directly in the Page Footer?

Access does not support aggregate operations in a Page Footer. Put the aggregate expression in a Report Footer text box, then reference that text box from the Page Footer.

How does the text box know it is on the last page?

The expression =IIf([Page]=[Pages],[txtGrandTotal],Null) compares the current page number with the total page count. It returns the total when they match and Null otherwise.

Which fields should I use in the total expression?

Use fields from the report's Record Source, such as =Sum([Amount]), along with any required calculations. Avoid using names of controls generated in group sections.

What if the Report Footer is not visible in Design View?

Open the report in Design View and enable the Report Header/Footer sections from the Design tab. Then add the aggregate text box to the Report Footer.