Design a report with multiple pages

Stimulsoft Reports.NET discussion
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Hello

I need a report that have multiple pages for each record in the data source.
It should look like
Invoice1
Page1
Page2
Page3
Invoice2
Page1
Page2
Invoice3
Page1
Page2
Page3
I have tried it with childbands on one page and that works but I have a fix layout for each page and
I don't know how I can split the databand on multiple pages.

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

Design a report with multiple pages

Post by Alex K. »

Hello,

You can set the properties "New Page After" on DataBand component in true.

Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Hello

>You can set the properties "New Page After" on DataBand component in true.
I know this but how can I design my pages. Every page has a A4 format and I need this space.
For every detailrecord in my databand I need 3 pages on A4 format.

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

Design a report with multiple pages

Post by Alex K. »

Hello,
vorauler wrote: Every page has a A4 format and I need this space.
For every detailrecord in my databand I need 3 pages on A4 format.
You can use following expression in events "After Print" on DataBand component:

Code: Select all

int CountPageSpace = 3;
for (int i = 0; i <= CountPageSpace; i++)
{
	Engine.NewPage();
}
or

Code: Select all

Engine.NewPage();
Engine.NewPage();
Engine.NewPage();
Engine.NewPage();
Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Hello
Every page has a A4 format and I need this space.
For every detailrecord in my databand I need 3 pages on A4 format.
Additionaly every page from this three pages have a different layout.
Should I sent you sample pdf how it looks like yet?

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

Design a report with multiple pages

Post by Alex K. »

Hello,
vorauler wrote:Should I sent you sample pdf how it looks like yet?
Yes, it would give a better understanding of your problem.

Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Hello

To which email address?

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

Design a report with multiple pages

Post by Alex K. »

Hello,
vorauler wrote:To which email address?
support[at]stimulsoft.com

Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Done.

Thanks for your effort.

Ralf
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Design a report with multiple pages

Post by vorauler »

Hello Aleksey

Thank you very much for your help, the sample report that you send me has solved the problem.

Ralf
Post Reply