Ignore empty pages

Stimulsoft Reports.Flex discussion
Locked
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Ignore empty pages

Post by hugo »

Hello,

I have a report with 3 pages fed by the same datasource with a filter in every data bound of every page.
There is scenarios where a filter can generate 0 rows but I see a empty page.
In scenarios in a total of 0 rows I get 3 empty pages. How can I ignore this empty pages ?


Best regards,
Hugo.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Ignore empty pages

Post by HighAley »

Hello.

You could try to use next expression in Conditions of the page where the DataBand1 is a name of Data Band.

Code: Select all

Totals.Count(DataBand1) == 0
Please, look at the attached report template.
Report.mrt
(17.6 KiB) Downloaded 275 times
Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Ignore empty pages

Post by hugo »

It worked.

Thanks a lot.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Ignore empty pages

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Locked