We discussed printing reports briefly in Project 2: Access Basics: Print Report. You got deeper in to the printing process for forms in Printable Form, in the current project. Much of what you learned about managing the printing of forms applies to reports also so we won't go over those details again.
For reports the Page Setup dialog has the same three tabs that you see for printing forms: Margins, Page, Columns
The default margins are 0.25" all around, unless you changed them in the Options dialog, General tab. The default orientation is Portrait. The default number of columns is 1, with the width being the same as the width of the Detail section.
Printing in columns is discussed in the section on Special Forms and Reports: Multiple Columns. It can be quite tricky.
The
Print dialog still controls the printing process.
As with form sections, figuring out which sections print where can be a
bit confusing. In the example here, each section other than the Detail
section has both a header and a footer. You can hide either the section's header or footer or even both.
Report Header/Footer:
These sections appear only once in a report. The report header is the very first section in the report. Sometimes the Report Header is on a page by itself and acts like a title page for the report.
The report footer follows directly after the last group footer. It will be above the page footer. You can make a report footer print on a separate page by requiring a page break before the section.
Report Totals:
Can appear in either the report header or footer.
The example shows a report total in the report footer.
Page
Header and Footer:
Appear on every page by default.
On the first page, the page header is below the report header. On other pages the page header is at the top of the page. In the illustration above, an IIF statement was used to write different text in the Page Header after the first page.
The page footer is always at the bottom of the page.
In the report's Property Sheet, you can choose to not show the Page Header or Footer with the Report Header or Footer.
You show or hide a Page Header/Footer from the Property Sheet, not the Page Setup dialog.
Page Totals:
It is tricky to create totals for each page instead of a group. It requires using code.
The example does not have page totals.
Group Header/Footer:
When you group your records, each group can have its own header and footer. These are nested. The second level group header and footer are in between the first level group header and footer, etc. You can hide a group header or footer or even both (but hiding both would be unusual).
The Report Wizard automatically creates groups for the fields that you choose to group on with the Report Wizard.
You can create your
own groups and sorting in the pane Group, Sort, and Total.
The pane shows your groups and their settings, like sorting and totals.
Show/Hide Group Header/Footer: Open the More section of the group to see current settings. The down arrows open a list of choices for that property.
Group Totals: Can appear in either the group header or footer.