How to Add a manual Page Break ?

Stimulsoft Reports.NET discussion
Post Reply
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

How to Add a manual Page Break ?

Post by Stephan1 »

I need to add a manual Page break.

Example:

I got a Report (Invoice) with Products as a table in it.

Is it possible to check if a product lets call it "Pagebreak" can do a page break ?.

I mean something like to check if the producttext is "Pagebreak" i can do a manual page break ?

This is needed if a invoice has lots of pProducts etc and the user want to decide self when a page break is done or not.

Maybe "GetTagEvent" ?

Its a kind of:


Product 1.....
Product 2.....
Product 3.....
Manual Page break (Which is also a Product in the table).

New side

Product 4...
Product 5...
...
...

Is there an event to check if the Products.Product is "Pagebreak" and then Add a page break ?


Thx a lot

Stephan
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

How to Add a manual Page Break ?

Post by Guest »

You can write in the BeforePrintEvent of the data band, for example:

Code: Select all

if (Products.ProductsName == "PageBreaks"){Data1.StartNewPage = true;}
where Data1 - name of the band.

Thank you.
Post Reply