How to display the footer page PageFooter only on the last page of the report

2020-05-15

When you develop the same reports, or reports with the same bands, you can use the inheritance of reports. That is a basic report that will be used as a basis for others. This will provide a uniform component to the set of reports you create.

Just working with such a set of identical reports, the user of the Combit reports generator

List and Label ran into a problem. Namely:

"I have a project template that has some standard text" page title ", which should be printed on each page, and then" page footer ", which should be printed on the last page. All of them are static elements (with no reports of the container).

But when I turn on the project template, I cannot get the "Footer" only printed on the last page. If I set the condition for LastPage (), it is not printed at all. It is expected according to the documentation

...

Now I just save the footer text in variables, and then place it in every project that is tedious and error-prone. "

Unfortunately, the developers did not find an easy solution to this issue. The user will have to put the LastPage() property for the footer of the page in each report.

FastReport.Net also allows you to use a basic template to create a variety of similar reports. Let's look at how we would solve the problem using the FastReport report generator.

In fact, it's very simple. In the basic report template (from which you inherit) you need to set the PrintOn property for the PageFooter band. It's a checkbox list. You must choose LastPages and OddPages.

 PageFooter properties

 Only with this combination will you make the footer of the page appear only on the last page of the report:PageFooter shown on last page

So, you can avoid editing all reports that are based on a basic template.

.NET .NET FastReport FastReport Designer Designer Report Report Customization Customization
April 08, 2025

How to Set Up a Connection to Apache Ignite in FastReport .NET

In this article, we will explore how to configure a connection to Apache Ignite in FastReport .NET. You will learn the necessary steps to connect the plugin via code and the report designer.
April 08, 2025

Converter from Microsoft Word (.docx) format to FastReport .NET (.frx) file

A converter from Microsoft Word (.docx) format to a file FastReport .NET (.frx): description and instructions for using the tool.
March 25, 2025

How to Merge Multiple Reports into One in FastReport .NET

FastReport .NET is a powerful tool for creating and managing reports. In this article, we will look at how to combine multiple reports into one in FastReport .NET.
Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.