COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: nosub on 12 Oct 2007 06:36:11 AM

Title: Preventing page breaks with nested sections in a report
Post by: nosub on 12 Oct 2007 06:36:11 AM
Here's a somewhat related question...I have a report with several sections within a parent section.  I've already set a page break to the parent section using a page set grouping...however, when I render, sometimes, one of the child section headers and its corresponding crosstab are broken across 2 pages...leaving the header one the bottom of one page and its crosstab on the top of the next page.  Is there a way to force each section and its header to stay together on the same page.

I've already tried unchecking "allow text to break across pages" and I've also tried setting the enclosing list's box type to block.

Any other suggestions?
Title: Re: Preventing page breaks with nested sections in a report
Post by: MidnightPhoenix78 on 07 May 2024 01:43:32 AM
Quote from: nosub on 12 Oct 2007 06:36:11 AMHere's a somewhat related question...I have a report with several sections within a parent section.  I've already set a page break to the parent section using a page set grouping...however, when I render, sometimes, one of the child section headers and its corresponding crosstab are broken across 2 pages...leaving the header one the bottom of one page and its crosstab on the top of the next page.  Is there a way to force each section and its header to stay together on the same page.

I've already tried unchecking "allow text to break across pages" and I've also tried setting the enclosing list's box type to block.

Any other suggestions?

Hi there, many years later I'm currently facing similar to this issue, I want that certain section to stay together in the same page or just break that section on the next page as long as they are together, have you solved this issue? attached  is what I am facing
Title: Re: Preventing page breaks with nested sections in a report
Post by: dougp on 07 May 2024 01:15:50 PM
I guess since nosub is the one to totally change the thread topic 17 years ago, I'll leave that alone.  Maybe MFGF will want to fix this.

I see your screen capture, but I don't understand the problem.  Are you saying you want to fit 2 pages of data on one page (no page break)?  Or are you saying you want to push the content from the bottom of page 1 to page 2?
Title: Re: Preventing page breaks with nested sections in a report
Post by: MFGF on 08 May 2024 07:01:28 AM
Quote from: dougp on 07 May 2024 01:15:50 PM...Maybe MFGF will want to fix this...

Done! I split out Nosub's original post and the recent replies into this new topic.

Cheers!

MF.