Sub totals and Page Breaks [message #2392] |
Sat, 16 January 2010 12:38 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
Tony,
I'm struggling achieving the desired output with the ListView print_before and print_after methods - can you confirm if the following is possible with existing methods?:
I am producing a listview output for a number of entities, each of which has one or more items belonging to it, containing an amount.
I want to produce a separate page for each entiy and have a subtotal for each entity at the bottom of each page.
The page break is easy, but I can't get the subtotal to appear with the correct entity at the same time as it needs to go in the print_before method with the page break. Therefore, the total always goes at the top of the next page.
How can I achieve this?
Thanks,
Graham
|
|
|