Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Stimulsoft Reports.WPF discussion
Post Reply
MarkD
Posts: 10
Joined: Wed May 30, 2012 11:24 pm

Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Post by MarkD »

I am trying to configure a report that displays a grouped list of items. If a group doesn't fit on a page I would like to display 'continued on next page' at the bottom of the first page and 'continued from previous page' at the top of the next page.

I've tried a couple of different approaches (e.g. 'ExceptFirstPage' or setting the text to an expression like '{Line > 1 ? "continued from previous page" : null}') but so far I haven't been able to come up with a way of accomplishing this.

Do you have any suggestions?

Thanks
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Post by Ivan »

Hello,

Can you please send us a sample report template with data, which reproduces the issue?

Thank you.
MarkD
Posts: 10
Joined: Wed May 30, 2012 11:24 pm

Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Post by MarkD »

I've attached a report template (SimpleGroup1.mrt) that is a modified version of the 'Simple Group' example included with 2012.1 and uses the same data.

The report has three groups - 'Minus one', 'Zero' and 'One'. The first group takes all of page 1 and part of page 2 so I would like to put a message 'continued on next page' at the end of page 1 and 'continued from previous page' at the start of page 2. The second group fits on a page so it doesn't need any messages. The third group starts on page 2 and ends on page 3 so there would also need to be 'continued' messages at the end of page 2 and the start of page 3.

I've also included another example (SimpleGroup2.mrt) where the first group ends at the end of a page, so for that report I would not want a 'continued on previous page' message at the end of page 2 or a 'continued from previous page' message at the start of page 3.

Thanks
Attachments
1901.SimpleGroup2.mrt
(36.04 KiB) Downloaded 404 times
1900.SimpleGroup1.mrt
(36.04 KiB) Downloaded 502 times
MarkD
Posts: 10
Joined: Wed May 30, 2012 11:24 pm

Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Post by MarkD »

I still haven't been able to come up with a way of doing this. If it is not currently possible then it would be useful to know that too.

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

Displaying 'continued on next page' / 'continued from previous page' if a group spans pages

Post by Alex K. »

Hello,

Sorry for the delay with response.

As a way, you can try to use the additional code.
We will try to prepare the sample for you.

Thank you.
Post Reply