Reports are intended primarily for printing or previewing, while forms are intended primarily for use on screen. You cannot change the data in a report from any view. That's the job of a form.
The example reports on this page come from the Day Camp database in your resource files.
There are several basic types of reports, with uncountable variations.
Summary - Can include report totals, running totals, and group totals. Can show only the summary data with no records at all. A "total" can be any aggregate function, including average, count, maximum, or minimum as well as sum.
Examples: Reports on T-shirts needed per unit or for whole camp
Specialty reports
Examples:
There are three views for a report by default, plus one optional view.
Report Design View looks very much like Form Design View. You create controls the same way, dragging fields from the Field List or using the ribbon tools to create controls. You use the Property Sheet to manage the look and behavior of controls, report sections, and the whole report. Each section can be no more than 22" tall and the report can be no more than 22" wide. All sections will be the same width, which can be a problem.
Report sections available:
Each section has its own selection bar running across the design
window.
Page Header/Footer - Prints on each page. Page numbers go here, usually in the footer. Since the report title won't show after the first page, you will often want a secondary title in the Page Header.
You might also want to include column headings, if your Detail put content into columns, as in the illustration.
A page total would, of course, be put in the Page Header or Page Footer. Page totals are tricky to create.
Group Header/Footer - Prints at the beginning/end of a group of records. A group is named for the field or expression which is used to group the records. A report can have up to 10 sorting or grouping levels.
Each group can have its own header and/or footer. The illustration shows two groups, with one Group Header (Full Unit) and two group Footers (Full Unit and T-shirt size).
Methods to hide a section:
The Group & Sort button on the ribbon
opens a pane at the bottom of the Report Design View, called Sort, Group, and Total.
This pane shows you a tree diagram of the groups, sorting, and Totals in the report. With this pane you can pick fields to sort and group on, without having
to make changes in the source for the report. You have lots of control over
how the grouping behaves.
The illustration shows that the report's records are grouped together on values in the field Full Unit, in alphabetical order. Then within each unit, the records are sorted by the field T-shirt type and then grouped on the field T-shirt size.
Print Preview shows how your whole report will print. The
illustration shows some of the sections that you might have. Of course,
different reports will use different combinations of the possible sections.
Report Header: Shows only on the first page. This could even be a page by itself, like a cover page.
Page Header: Show on every page. By default, the Page Header will show below the Report Header on the first page but at the top of the page on other pages.
Page Footer: Shows on every page at the bottom of the page by default.
Report Footer: Shows only on the last page, below the last group footer. The Page Footer is still at the bottom of the page.
Navigation in Print Preview:
Better: Put a control in the page header or page footer that shows the total number of
pages as well as the current page number. That way you will be able to see
the total number of pages on the first page!
The Property Sheet works the same way for reports that it did for forms. Report sections and controls have many of the same properties that those items have in forms, such as Record Source, Font, Border Style, Border Color, Back Color. There are some differences, of course.
Reports have properties that control what will print and where.
Reports do not have properties about how data is entered or edited, which a form needs.
Problem: A page prints with just a few lines
This happens naturally from time to time. But sometimes you can make adjustments to squeeze those last lines onto the previous page.
However, if you add or remove records later, you may have a different issue the next time you run the report.
Things that might help to print on fewer pages: