Table of contents
TOC
Collapse the table of content
Expand the table of content

Report.Page Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

The Page property specifies the current page number when a report is being printed. Read/write Long.

Syntax

expression. Page

expression A variable that represents a Report object.

Remarks

Although you can set the Page property to a value, you most often use this property to return information about page numbers.

This property is only available in Print Preview or when printing.

Example

The following example updates the report's caption to display the current position in the report as the user pages back and forth in the report.

Private Sub Report_Page()
    Me.Caption = "Now Viewing Page " &; Me.Page &; " Of " &; Me.Pages &; " Page(s)"
End Sub

See also

Concepts

Report Object

© 2017 Microsoft