Page 1 of 1

Hide textbox on odd or even pages

Posted: Thu Jan 07, 2021 1:12 pm
by agodoo
Hello,
I need to hide a textbox control based on odd or even pages.

To start on this task I started with a simpler task just to test; I decided to test it, trying to hide a control on page 2.

I selected the control I need to hide and I set conditions on it.

I used "Field is Expression" type of condition, and setted Expression = ({PageNumber}) == '2'
On such condition I unchecked "Component is Enabled" checkbox.

I also tred with expression like
({PageNumber}) == 2
{PageNumber} == 2

But in any case it always shows the control.

Where am I going wrong?

kind regards,
Matt

Re: Hide textbox on odd or even pages

Posted: Mon Jan 11, 2021 10:28 am
by Lech Kulikowski
Hello,

The sample report in the attachment.

Thank you.