Page 1 of 1

Print Report Data on New Page

Posted: Mon Aug 06, 2012 7:38 am
by AlexN
Hello,
i have a Condition in a Textfield and when this Condition is true i want to print the following data on the next page, but i dont know how the command/variable for a new page is.
Could you please tell me the Command/Variable for a new page.
Here a short example what i want:
{Context.Title == "New Page" ? NewPage : Context.Title}

Thank you very much!

Re: Print Report Data on New Page

Posted: Mon Aug 06, 2012 10:10 am
by Alex K.
Hello,

You can use the following expression in BeforePrint event:

Code: Select all

if (Context.Title == "New Page")
	Engine.NewPage();
Thank you.

Re: Print Report Data on New Page

Posted: Mon Aug 06, 2012 1:27 pm
by AlexN
Works very well, thank you very much!

Re: Print Report Data on New Page

Posted: Mon Aug 06, 2012 1:48 pm
by Alex K.
Hello,

We are always glad to help you!