"New page after" by code

Hi.

There is a method for starting of the new page in the EngineV2:

Engine.NewPage(); 

You can call it from any event inside the report.

Thank you.

 

Thanks Edward
I'm using this code in GroupFooter "After Print" event 

Code: Select all

If var_NewPageGrp=1 Then Engine.NewPage()

It works fine but it gives me +1 page blank at the end.This is normal, I need a more complex validaton for last group of data but how I'll do that.
Thanks a lot !

 

Guess you like

Origin www.cnblogs.com/Jeely/p/10965724.html