Page 1 of 1

Spliting report to pages based on data

Posted: Wed Jun 19, 2019 3:15 pm
by rpotyka
Hi,

I want to create a report with data presented in for of list grouped by year, month and code of the transactions.
The report should be split to pages based on that. For each code, month or year the new page should be started. Is there a more or less convenient way to do so in code or the report designer?

Kind regards,
Radek

Re: Spliting report to pages based on data

Posted: Thu Jun 20, 2019 8:10 pm
by Lech Kulikowski
Hello,

You can set the NewPageBefore=true property for the master band or group band for the necessary level.

Also, you can use the following code in the BeforePrint event:
if (your condition) this.engine.newPage();

Thank you.

Re: Spliting report to pages based on data

Posted: Thu Jan 16, 2025 5:59 pm
by isabella1236
hello,

how can i set the NewPageBefore = true in the designer?
i have a databand with the condition map_discharge_time
i want that each different map_discharge_time create a new page, but i wish i could put that on the designer

Re: Spliting report to pages based on data

Posted: Fri Jan 17, 2025 9:14 am
by Lech Kulikowski
Hello,

Please check the screenshot.

Thank you.