nextPageTemplate
The PageTemplate object that is used for the following page.
Property of
PageTemplate
Description
Because a report may have multiple PageTemplate objects, the firstPageTemplate property is used to identify the PageTemplate that the report should render as its first page.
Once the first PageTemplate has been chosen, each PageTemplate object has a nextPageTemplate property that identifies the page to render next.
For a report that uses the same page over and over, the same PageTemplate object is used for both the report’s firstPageTemplate property and that PageTemplate’s own nextPageTemplate property.
You can create a different introduction or cover page for a report by specifying the cover page as the report’s firstPageTemplate property, and then set the cover page’s nextPageTemplate property to the PageTemplate for the body pages.
To alternate left and right pages, set the nextPageTemplate of the left page to the right page, and vice versa. Then specify the page on the right as the report’s firstPageTemplate.