COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Thermos on 15 Jun 2010 03:40:01 PM

Title: New Page After Block
Post by: Thermos on 15 Jun 2010 03:40:01 PM
I am making a report that will be exported as PDF and printed.  How can I force the report to go to a new page after a certain block or object?

For example each printed page will be for a customer.  I need to make sure that there is never two customers data on one page.
Title: Re: New Page After Block
Post by: CognosPaul on 16 Jun 2010 02:23:39 AM
Try using a pageset. That will create a page for each row in the associated query.

Remember to use a master/detail relationship in any object (list, crosstab, graph) inside the page.
Title: Re: New Page After Block
Post by: Thermos on 06 Jul 2010 02:35:12 PM
just realized i never replied back to this.  Thank you.  Page set worked perfectly.  I did the following...

1. Created a new List Report with grouped query items.
2. Go to Report Pages.
3. Add a Page Set.
4. Set the Page Set Query property to the list query.
5. Open the Page Set Grouping & Sorting property.
6. Add the grouped Query item to the Grouping folder in the left pane and click OK.
7. Back in Report Pages, drag the original page (default Page1) to the Page Set Details folder.
8. Run the report.