Page 1 of 1

Hide the footer band on a page

Posted: Wed Oct 16, 2024 10:16 am
by lebien2015
I have a footer band on a page. I want the footer band to be hidden if a data row in the data band meets a specific condition. I tried setting the condition in the BeforePrint event, but it hides the footer band on the next page. Is there any way to hide the footer band on the same page where a data row in the data band meets the condition?

Re: Hide the footer band on a page

Posted: Wed Oct 16, 2024 8:44 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Also, as a way, try to use the Enabled property.

Thank you.

Re: Hide the footer band on a page

Posted: Thu Oct 17, 2024 1:52 am
by lebien2015
I'm sorry that I can't send you a sample. But I tried to make a report on the demo. As you can see in the image I sent, in img1 is the report I designed. In img2, I set a condition to hide footerband1 when the phone number equals 40.32.21.21. However, the result in img4 was not as I expected. On the page with the phone number 40.32.21.21, footerband1 is still being displayed. Do you have any way to hide footerband1 in this case?

Re: Hide the footer band on a page

Posted: Thu Oct 17, 2024 4:10 pm
by Lech Kulikowski
Hello,

On our Demo only the Interpretation mode is available. Your code will not work.

You can try to use the Blockly code or Enabled property to hide components.

Thank you.