If the requirement is of printing a different last page, then the following could be used.
Create a section break in your template to ensure the content of the final page is
separated from the rest of the report.
Page layout –> Breaks –> Section Break –> Next Page
Insert the following syntax(in one tag) on the final page:
Any content on the page that occurs above or below this tag will appear only on
the last page of the report. Also, note that because this command explicitly specifies the
content of the final page, any desired headers or footers previously defined for the
report must be reinserted on the last page.
Where The “Last Page Placeholder” field contains the syntax:
It is important to note that if the report is only one page in length, the first page layout
will be used. If your report requires that a single page report should default to the last
page layout (such as in a check printing implementation) then you can use the
following alternate syntax for the “Last Page Placeholder” on the last page:
Substituting this syntax will result in the last page layout for reports that are only one