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
Spliting report to pages based on data
-
- Posts: 7019
- Joined: Tue Mar 20, 2018 5:34 am
Re: Spliting report to pages based on data
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.
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.
-
- Posts: 1
- Joined: Thu Jan 16, 2025 5:57 pm
Re: Spliting report to pages based on data
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
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
-
- Posts: 7019
- Joined: Tue Mar 20, 2018 5:34 am
Re: Spliting report to pages based on data
Hello,
Please check the screenshot.
Thank you.
Please check the screenshot.
Thank you.
- Attachments
-
- Screenshot 2025-01-17 101356.png (59.09 KiB) Viewed 673 times