Skip to Content
Dec 11, 2013 at 04:17 AM

How to print totals window only on last page



I want to print Totals window ( calculations od various fields are being done in the Interface part ) only on Last page.

I have tried out using making the totals window as Final window. But could not achieve it.

I have created the second page which is similar to first page. In the second page i created the totals as secondary window and had put the condition " only after end of main window". This is working only if there are more no.of items which flows to second page. But this scenario is not working when there are only 2 or 3 Items which will be printed only on fist page.

Also I have tried out with various other options. Either the totals window is printing on all pages or it is not printing on any page.

My requirement is, if there is only 1 page, the totals window should be printed on first page. If there are more items which extends to second page, then totals window should be printed only on second page.

How to achieve the above requirement?