Hide pages

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

Hide pages

Post by hugo »

Hello,

On a report with multiple pages (different data sources), how to hide the pages that have no data ?

Regards,
Hugo.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hide pages

Post by Alex K. »

Hello,

You can try to use Condition for the page:
DataSourceName.Count == 0

and set the ComponentIsEnabled to false.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Hide pages

Post by hugo »

Hello,

I thought that this was valid only for objects contained on the page.
It works !
Thank you.

Regards,
Hugo.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Hide pages

Post by HighAley »

Hello, Hugo.

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

Thank you.
Locked