Fix an Access Report Header Calculation That Changes in Print Preview
Question details
The user needs an Access report header calculation to show the same result in Report View and Print Preview.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A report header formula divides a count from the Report Footer by a running total.
- Observed behavior
- The calculation shows 25 in Report View but changes to 327, the source count, in Print Preview.
Open the report in Design View and identify the numerator, denominator, and any filters used by the report. Check whether the running total covers the whole report or a specific group, since the replacement calculation must use the same scope.
Calculate the header values from the report's underlying query
Use query-level aggregates instead of relying on footer controls that may not have their final values when the header is evaluated.
Report sections can be evaluated differently in Report View and Print Preview. A header expression that references a footer calculation or running total can therefore produce an inconsistent result.
The aggregate query must use the same records, filters, and grouping scope as the intended calculation. A report-wide total is not interchangeable with a group total.
Right-click the report in the Navigation Pane, select Design View, and select the header text box. Open the Property Sheet and check its Control Source for references to footer controls or running totals.
Select Create > Query Design and add the table or query that supplies the report. Use Totals to calculate the count and the value used as the denominator from the underlying fields, applying the same criteria as the report.
In Design View, select the report and open its Property Sheet. Edit the Record Source query so it includes the calculated totals. For a report-wide calculation, ensure the totals query returns one row; for a group calculation, join the totals by the appropriate group key.
Select the header text box and change its Control Source to divide the query's count field by its denominator field. Handle zero or missing denominators so the expression does not attempt to divide by zero.
Save the report, then open it in Report View and Print Preview. Confirm that the header shows the expected result in both views, including when the report filters change.

Work with spreadsheet reports in WPS Office
WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface. Its format compatibility makes it easy to move spreadsheet-based reports between WPS and Microsoft Office. It does not fix or edit Microsoft Access report calculations.

Frequently Asked Questions
Why does my Access report header change in Print Preview?
A header that references a footer calculation or running total can be evaluated before the referenced control has its final value. Calculate the required values in the report's underlying query instead.
How do I find the expression used by the report header?
Open the report in Design View, select the header text box, and check Control Source in the Property Sheet.
How can I make the totals match a filtered report?
Apply equivalent filter criteria in the totals query and verify that its aggregate scope matches the report or group being calculated. Test the result in Print Preview after changing the filter.
Can WPS Office repair an Access report?
No. Edit and test the Access report in Microsoft Access. WPS Office can be used separately for compatible spreadsheet-based reports, including Excel XLS and XLSX files.




