Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Empty page at the end of the records

Hello community!

I have a very simple form:
No header, no footer
1x DBText, 2x region with 2x Line, 2x Label, 2x DBRichText and at the end a pagebreak.
So each record has its own page.
But at the end of the records there is always a blank page.

Do you have any idea what the problem could be?

With kind regards
Olaf Zahn

Win10, Delphi 10.2, IBObjects 5.11.1 2861
Best regards, Olaf

------------------------------------
Win10, Delphi 10.2,
RB 20.01 Build 322 ,
IBObjects 5.11.1 2861,
Firebird 2.5
------------------------------------

Comments

  • RB 20.01 Build 322
    Best regards, Olaf

    ------------------------------------
    Win10, Delphi 10.2,
    RB 20.01 Build 322 ,
    IBObjects 5.11.1 2861,
    Firebird 2.5
    ------------------------------------
  • Hi Olaf,

    I first recommend upgrading to the latest version of ReportBuilder (20.04).

    There are a number of reasons an empty page is displayed. Generally it is due to an overflow occurrence with the specific stretchable components used.

    1. Are you using groups?

    2. Do you have a summary or page summary enabled?

    3. Are you using subreports?

    If possible, please create a simple example that demonstrates this behavior to support @ in .zip format and we'll take a look at what is happening.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Olaf,

    I re-read your post and missed the part where you mention you have a PageBreak component in each detail. This will, by design, give you an empty page after each record.

    Try removing the PageBreak and see if that solves the problem.

    If you need each record on its own page, I recommend creating a group with the NewPage property set to True.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Nico,

    "...creating a group with the NewPage.."
    Perfect that works! Thanks.

    Now i get sometimes the error message
    ---------------------------
    Systemressourcen erschöpft.
    ---------------------------
    english perhaps: "System resources exhausted."

    Best regards, Olaf
    Best regards, Olaf

    ------------------------------------
    Win10, Delphi 10.2,
    RB 20.01 Build 322 ,
    IBObjects 5.11.1 2861,
    Firebird 2.5
    ------------------------------------
  • The "Out of system resources" error is likely a different issue. In ReportBuilder, it is usually caused by extremely large images (or large amounts of smaller images) on a single page.

    My first suggestion is to simplify your report to try to isolate the report component(s) causing the problem.

    Memory leaks can also cause this error. I suggest running your application with a memory manager such as FastMM to discover any leaks that may be causing issues.

    http://docwiki.embarcadero.com/Libraries/Sydney/en/System.ReportMemoryLeaksOnShutdown


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.