Supress a data band based on field being null or not

Stimulsoft Reports.WEB discussion
Post Reply
jquinn
Posts: 9
Joined: Wed Jun 27, 2018 6:53 pm

Supress a data band based on field being null or not

Post by jquinn »

I have two data bands in one report. If a field exists on my report I want it to show one data band report and not show the other. However if the field does not exists I want it to do the opposite. In crystal reports I had two detail sections. To accomplish this I simply created an expression to suress if the field was null, and visa versa on the other detail report.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Supress a data band based on field being null or not

Post by Lech Kulikowski »

Hello,

Please try to use Conditions with the ComponentIsEnabled option.

Thank you.
jquinn
Posts: 9
Joined: Wed Jun 27, 2018 6:53 pm

Re: Supress a data band based on field being null or not

Post by jquinn »

I've been trying this, but I can't get it to work. Should I have this in a data band, or another type of field or header?
jquinn
Posts: 9
Joined: Wed Jun 27, 2018 6:53 pm

Re: Supress a data band based on field being null or not

Post by jquinn »

Lech Kulikowski wrote: Thu Jun 28, 2018 10:39 pm Hello,

Please try to use Conditions with the ComponentIsEnabled option.

Thank you.
I finally got the data to appear or not when I want to based on conditions. However part of my data is showing up in the middle of the page when the other data is not being shown. How to I get the data to go to the top when the other data isn't being displayed?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Supress a data band based on field being null or not

Post by HighAley »

Hello.

Please, send us your report template with sample data.
We need to reproduce your issue to help you.

Thank you.
Post Reply