Invoice print form with multiple pages

I have an invoice with multiple pages, at the end of every page I want to have the subtotal of the products of that page (increasing).

E.g.
Page 1 total of products of page 1
Page 2 total of products of page 1 and 2 and so on.

No matter what I try I get only a grand total.

Can somebody help me out?

Are you using Servoy’s built in reporting, Jasper reports or are you creating your report in HTML?

If I don’t miss something Jasper report is a plugin in Servoy 4. I’m developing in 3.5.
I have just a form with parts like in FileMaker, with a title header, header body with a tab in it en so on.

But I feel now that I’m on the wrong way… am I?

You can use the 4.0 Jasper Reports Plugin with 3.5 as well (should work) - in 4.0 it was open-sourced.
viewtopic.php?f=16&t=10920&p=54564&hilit=jasper+reports+plugin#p54564

With Servoy built-in reporting you can only have summary parts + aggregations - but those are not per page.

Your other option is to write the report in HTML, then place it in an HTML area field. Or, for better formatting/styling and more control over print formatting I have a plugin you can demo that let’s you create, view, preview and print reports using XHTML and CSS 2.1/3.

You can find it here: http://www.omnesoft.com/index.php/site/product/1