I'll start with some background:
Pretty typical report with two groups. Group 2 is set to "keep together" and there is no footer to Group 1, so I've pretty much got...
GH1
G2
G2
GH1
G2
etc
What I want to do is "stick" the Group 1 header to the first Group 2 so I'm not left with a hanging Group 1 header on the bottom of one page while the Group 2s start on the next. Page breaking between Group 2s is okay and setting Group 1 to "keep together" is not really desirable because it will page break for a longer group when there's plenty of page space left to at least start the group before the page break. Does that make sense?
So here's the two options that I've come up with, neither of which I know how to do or even if they're possible:
1. Somehow tell it not to page break after GH1 or
2. Come up with a formula to put in "page break before" of GH1 that would start a new page if a GH1 was about to be started too far down the page.
Basically, my question boils down to, "How can I prevent a hanging group header at the bottom of a page without keeping the whole group together?" Any help would be appreciated. Thanks.
Pretty typical report with two groups. Group 2 is set to "keep together" and there is no footer to Group 1, so I've pretty much got...
GH1
G2
G2
GH1
G2
etc
What I want to do is "stick" the Group 1 header to the first Group 2 so I'm not left with a hanging Group 1 header on the bottom of one page while the Group 2s start on the next. Page breaking between Group 2s is okay and setting Group 1 to "keep together" is not really desirable because it will page break for a longer group when there's plenty of page space left to at least start the group before the page break. Does that make sense?
So here's the two options that I've come up with, neither of which I know how to do or even if they're possible:
1. Somehow tell it not to page break after GH1 or
2. Come up with a formula to put in "page break before" of GH1 that would start a new page if a GH1 was about to be started too far down the page.
Basically, my question boils down to, "How can I prevent a hanging group header at the bottom of a page without keeping the whole group together?" Any help would be appreciated. Thanks.