Hide label based on expression

Stimulsoft Reports.NET discussion
Post Reply
b2cit
Posts: 1
Joined: Fri Mar 13, 2015 2:22 pm

Hide label based on expression

Post by b2cit »

Hi,

Can you please provide me a working example for the following.
I want to show/hide a textbox based on the count of a databand.

I have assign the following expression the the event before print:

Text16.Enabled = Totals.Count(DataBand1)=0

But this is not working.

Best,

axh
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Hide label based on expression

Post by Jan »

Hello,

Please check sample image from attachment. My text component placed on HeaderBand.
Let me know about result.

Thank you.
Attachments
Sample.png
Sample.png (350.87 KiB) Viewed 1141 times
Post Reply