Group of bands doesn't always keep together

I'm using FastReport 4 VCL Professional Edition version 4.15 on Delphi XE3.

My report has a series of bands that should collectively remain intact on a single page -- they should not get split across pages. To achieve this, I've created a Group, enclosing the set of bands with a Group Header (thin and empty) and a Group Footer (also thin and empty). I've also checked boxes therein to KeepTogether and to not AllowSplit.

Alas, for some reason some of these bands get widely separated on some of the pages, and the group ends up getting split across page boundaries. I don't understand why.

The attached skeletal project demonstrates the anomaly using the actual report from my real project. If all goes well, the last three rows on each page should be
Design Speed:        35                 35                 35                 35                       mph
Band Width:    20.5  (Through)    20.5  (Through)    20.5  (Through)    20.5  (Through)    20.5  (Through)
Band Width:    20.5  (Through)    20.5  (Through)    20.5  (Through)    20.5  (Through)    20.5  (Through)
But pages 3, 5, 9, and 11 all have a large gap above the "Design Speed" row, and the subsequent two "Band Width" rows get moved to the next page.

Any ideas why this is happening? Any help would be most appreciated.

Comments

  • edited 3:55PM
    rhodesv wrote: »
    I got nothing on top of my head for this SE, but have you managed to find a work around on this one so far?
    No, I haven't found a work around. It's still a problem for me.

    I submitted a ticket, but as far as I know, there's no response yet.

    Thanks for checking.
  • gpigpi
    edited 3:55PM
    It seems a bug in the FR engine
  • edited 3:55PM
    gpi wrote: »
    It seems a bug in the FR engine

    Thank you for the comment. Thank you also for confirming that the problem also occurs in FR5.

    If anyone can offer a workaround -- some means of keeping a group of bands on a single page -- then I'd be most grateful.

    I submitted a ticket on November 12, 2014. While the ticket has been assigned to a responsible developer, there has been no further response. So in the meantime, I'd welcome any suggestions to work around the problem.
  • gordkgordk St.Catherines On. Canada.
    edited 3:55PM
    i tried your demo in fr5.1.12 and first glance in design i see 2 memos widoed to the page
    memo i4 and scale memo can you tell me which band they belong to?
  • gpigpi
    edited 3:55PM
    Try to use subreport
  • edited 3:55PM
    gordk wrote: »
    i tried your demo in fr5.1.12 and first glance in design i see 2 memos widoed to the page
    memo i4 and scale memo can you tell me which band they belong to?

    Both of those were supposed to belong to the ArtDgmMasterData band. I'm not sure why they're no longer within that band.

    As part of a recent revision, I hid both of those (unchecking the Visible property), and it seems that somehow in the process I unwittingly pulled them from their band. As a test, I just now deleted them altogether. This did not affect the problem of the Group of bands sometimes splitting across multiple pages.

    Thank you for the response. And if you have any suggestions, I'm all gratitude.



  • edited 3:55PM
    gpi wrote: »
    Try to use subreport

    Thank you. I'll give that a try.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.