logo
small logo
  • Ürünler
  • Satın al
  • Yardım
  • About
  • Kullanıcı paneli Yardım
    • en
    • de
    • JP
    • ZH
  • Anasayfa
  • /
  • Articles
  • /
  • How to display the footer page PageFooter only on the last page of the report
  • Customizing the report designer

    31 Mayıs 2020

    Report designer is replete with lots of features that many users do not use. Sometimes

    read more
  • How to create a sales receipt from a WinForms application

    30 Mayıs 2020

    Most likely every .Net developer started from Windows Forms applications. Countless number of such applications

    read more
  • Working with NuGet packages in FastReport

    22 Kasım 2021

    UPD: Applies to the versions of FastReport .NET before 2022.2. License packages are now available

    read more
  • How to create a sales receipt from a WPF application

    17 Ağustos 2020

    I guess every WinForms developer came across the idea that the standard form controls look

    read more
  • PreviewControl.OnPrint and PreviewControl.OnExport Events

    1 Ekim 2020

    In FastReport 2019.4 added the ability to subscribe to PreviewControl.OnPrint and PreviewControl.OnExport events, which are

    read more

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

15 Mayıs 2020

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.

ürün hakkında satın al
avatar
Dmitriy Fedyashov
Technical Writer
Fast Reports Team: Dmitriy Fedyashov - Technical Writer at Fast Reports
.NET FastReport Designer Report Customization

Yorum ekle
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Satın al
  • İndir
  • Dökümantasyon
  • Geribildirimler
  • Ürünlerimizi nasıl kaldırabilirsiniz
  • SSS
  • Başlangıç için Video
  • Forum
  • Articles
  • Haberlerimiz
  • Basında Biz
  • Partnerler
  • Extended licensing
  • Bize Ulaşın

© 1998-2023 by Fast Reports Inc.

  • Gizlilik Politikası