Hello All,
Does anyone know how to remove a page within an Access Report. For instance, is there code to remove all even pages or all odd pages of an Access Report.
Thanks
From my notes . . . Add example code below to the [blue]Print[/blue] event [purple]of each section of the report[/purple]:
[ol][li]To remove a specific page:
Code:
[blue] If Me.Page = 4 Then Cancel = True[/blue]
[/li]
[li]Remove all even pages:
Code:
[blue] If Me.Page Mod 2 = 0 Then Cancel = True[/blue]
[/li][/ol]
Note: [purple]Pages are not actually removed, but rather are ejected as blank sheets from the printer . . .[/purple]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.