Page Event
Applies To
Report.
Description
The Page event occurs after Microsoft Access formats a page of a report for printing, but before the page is printed. You can use this event to draw a border around the page, or add other graphic elements to the page.
Remarks
To run a macro or event procedure when this event occurs, set the OnPage property to the name of the macro or to [Event Procedure].
This event occurs after all the Format events for the report, and after all the Print events for the page, but before the page is actually printed.
You normally use the Line, Circle, or PSet methods in the Page event procedure to create the desired graphics for the page.
The NoData event occurs before the first Page event for the report.
See Also
Circle method, Event properties, Format event, Line method, NoData event, Page, Pages properties, Print event, PSet method, Retreat event.