A question I get asked a lot is, how can you display information on certain pages and not on others? I will explain in this section how you can show or hide information on the last page of a report, and then use the same method for any page.
Let's start with a report that has a simple dataset with so many records that when you put them in a table, the table is printed on multiple pages:
An example of this report is available in the object: Packt - CH06-4
I have added a field to this dataset named
txtLastPage and, as its name suggests, this information only needs to be visible on the last page.