Page 1 of 1

Prevent page from printing

Posted: Thu Jan 31, 2013 8:29 am
by joro
Hello!

I have designed a report which consists of 2 pages. "page2" should only be printed under certain circumstances.
I have tried to set page2.Enabled to false, but the page is printed nevertheless.

How can I prevent a page from printing?

best regards
joro

Re: Prevent page from printing

Posted: Thu Jan 31, 2013 9:57 am
by Alex K.
Hello,

As a way, you can use the Conditions for the Page.
Please send us your report for analysis.

Thank you.

Re: Prevent page from printing

Posted: Thu Jan 31, 2013 9:59 am
by HighAley
Hello.
joro wrote:I have designed a report which consists of 2 pages. "page2" should only be printed under certain circumstances.
I have tried to set page2.Enabled to false, but the page is printed nevertheless.

How can I prevent a page from printing?
We couldn't reproduce your issue.
How do you set page2.Enabled to false?
What version do you use?

Thank you.

Re: Prevent page from printing

Posted: Thu Jan 31, 2013 10:13 am
by joro
Hello!

I have set page2.Enabled in an eventhandler in the sourcecode.
It turned out, that the eventandler was never called. I fixed it an everything is fine.

Sorry for the inconvenience.

Thanks anyways.

Re: Prevent page from printing

Posted: Thu Jan 31, 2013 11:23 am
by Alex K.
Hello,

Ok.
Let us know if you need any additional help.