if databand empty, Page disabled

Stimulsoft Ultimate discussion
Post Reply
bkalinovski
Posts: 6
Joined: Tue Jul 10, 2018 7:17 am

if databand empty, Page disabled

Post by bkalinovski »

Hello,
I need to disable the Page that consists of a Databand. If databand is empty then the Page has to be disabled, if databand has some data then Page will be enabled!
Any suggestions!
B.K
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: if databand empty, Page disabled

Post by Lech Kulikowski »

Hello,

Please try to add Condition with ComponentIsEnabled option or disable page in events.

Thank you.
bkalinovski
Posts: 6
Joined: Tue Jul 10, 2018 7:17 am

Re: if databand empty, Page disabled

Post by bkalinovski »

How to check if my DataBand is empty?
B.K
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: if databand empty, Page disabled

Post by Lech Kulikowski »

Hello,

You can use the Totals.Count() function.

Thank you.
Post Reply