ACC: Displaying First and Last Record Per Page in Page Footer (153029)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q153029 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article demonstrates how to create a report that displays the first
and last record on a report page in the page footer for that page. This is
useful if you are trying to create a phone book-like index on each page of
a report.
The following steps will create two fields in the page footer that will
display the first record and last record on the current page. A third
invisible field, placed in the page header, will actually retrieve the
value of the first record. This value is then transferred to one of the
fields in the page footer using a SetValue macro. This method is meant to
duplicate the index that is normally seen at the bottom of a phone book
page.
REFERENCES
For more information about multiple-column reports, search the Help Index
for "multiple-column reports," and then "Create a multiple-column report,"
or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbhowto kbusage KB153029 |
---|
|