Page 1 of 2

Design a report with multiple pages

Posted: Tue Sep 07, 2010 8:46 am
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

Design a report with multiple pages

Posted: Wed Sep 08, 2010 1:12 am
by Alex K.
Hello,

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

Thank you.

Design a report with multiple pages

Posted: Wed Sep 08, 2010 1:40 am
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

Design a report with multiple pages

Posted: Wed Sep 08, 2010 2:03 am
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.

Design a report with multiple pages

Posted: Wed Sep 08, 2010 2:25 am
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

Design a report with multiple pages

Posted: Wed Sep 08, 2010 2:49 am
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.

Design a report with multiple pages

Posted: Wed Sep 08, 2010 2:55 am
by vorauler
Hello

To which email address?

Ralf

Design a report with multiple pages

Posted: Wed Sep 08, 2010 3:00 am
by Alex K.
Hello,
vorauler wrote:To which email address?
support[at]stimulsoft.com

Thank you.

Design a report with multiple pages

Posted: Wed Sep 08, 2010 3:04 am
by vorauler
Done.

Thanks for your effort.

Ralf

Design a report with multiple pages

Posted: Wed Sep 08, 2010 6:15 am
by vorauler
Hello Aleksey

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

Ralf