Avoiding orphaned group headers

Hi,

I'm looking for a way to avoid orphaned group-headers. If there's not enough space to print at least one detail, the header should move to the next page.

If there's "only" one group, this could be done by checking freespace, header height and childband height.

But what if there's a subreport for some(!) details, this might look like this

Header Group 1
Detail A
SubDetail a
Sub Detail b
Sub Detail c
Detail B
Footer Group 1


In this case I'd have to check how many sub detail bands would be displayed... how could I do this? ;)

Kind regards,

Mark

Leave a Comment