Page 1 of 1

Multiple report headers - page break between

Posted: Wed Jan 25, 2017 7:09 am
by radekcerny2
I have a report with a complex group of headers. The first page contains a lot of data which should not but can overflow on to another page. I need to have a variable section (1 field of text that may be long or short) to be on the next page by itself. I see no way of forcing a page break before that page or after the 1st one. I see there are Events - before print - but I do not know what to put there to force a page break.

Thanks

Re: Multiple report headers - page break between

Posted: Thu Jan 26, 2017 12:20 pm
by HighAley
Hello.

Please, try to use next code:

Code: Select all

Engine.NewPage();
Thank you.

Re: Multiple report headers - page break between

Posted: Fri Jan 27, 2017 4:41 am
by radekcerny2
I have added that to the before print event and it appears to work as desired. Thanks.

Re: Multiple report headers - page break between

Posted: Fri Jan 27, 2017 1:33 pm
by HighAley
Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.