Page 1 of 1
Supress a data band based on field being null or not
Posted: Wed Jun 27, 2018 6:56 pm
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.
Re: Supress a data band based on field being null or not
Posted: Thu Jun 28, 2018 10:39 pm
by Lech Kulikowski
Hello,
Please try to use Conditions with the ComponentIsEnabled option.
Thank you.
Re: Supress a data band based on field being null or not
Posted: Fri Jun 29, 2018 5:15 pm
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?
Re: Supress a data band based on field being null or not
Posted: Fri Jun 29, 2018 5:43 pm
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?
Re: Supress a data band based on field being null or not
Posted: Sat Jun 30, 2018 9:36 pm
by HighAley
Hello.
Please, send us your report template with sample data.
We need to reproduce your issue to help you.
Thank you.