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
Any ideas why this is happening? Any help would be most appreciated.
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
I submitted a ticket, but as far as I know, there's no response yet.
Thanks for checking.
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.
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.
Thank you. I'll give that a try.