Creating pages after the end of a group

Stimulsoft Reports.WPF discussion
Post Reply
robcollett
Posts: 3
Joined: Tue Aug 31, 2010 9:19 am

Creating pages after the end of a group

Post by robcollett »

Hi - how do I create a page (or insert a page) after the end of a group?

Many thanks

Rob
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Creating pages after the end of a group

Post by Alex K. »

Hello,

You can use properties "New Page After" set in true on GroupFooter component.
Please see the sample report in attachment.

Thank you.
Attachments
573.Sample Report.mrt
(19.64 KiB) Downloaded 302 times
robcollett
Posts: 3
Joined: Tue Aug 31, 2010 9:19 am

Creating pages after the end of a group

Post by robcollett »

Hi thanks for that. Unfortunately that isn't what I'm asking. I want to insert a summary page when a group finishes rather than page break a page when a group finishes.

So i require:

Group header
- Data Page
- Data Page
- Data Page
- Data Page
Group Footer
- Summary Page
Group Header
- Data Page
- Data Page
Group Footer
- Summary Page

Does this make sense?

Many thanks Aleksey.

Rob
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Creating pages after the end of a group

Post by Alex K. »

Hello,

You can use SubReport component.
Please see the sample report in attachamen.

Thank you.
Attachments
577.Sample Report2.mrt
(21.33 KiB) Downloaded 333 times
robcollett
Posts: 3
Joined: Tue Aug 31, 2010 9:19 am

Creating pages after the end of a group

Post by robcollett »

Thanks for that.

The only thing I don't understand is summarising the contents of the group in this sub-report?

Therefore can you associate this sub-report with the group before it?

Many thanks!!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Creating pages after the end of a group

Post by Alex K. »

Hello,

Unfortunately, it is not so simple to do this. To bind Data on the first page and Summary in Sub-Report you need to put the Sub-Report in the DataBand.
Possibly it is necessary to add variables, assing them summary values and show them in the Sub-Report. It is necessary to see your data and what do you wat to do. This will help us in providing advice.


Thank you.
Post Reply