we need for our company report to print per page an subtotal in the table footer. If the last page is reached, it should print the amount untaxed.
We tried this by defining a variable before the loop starts. In the loop itself we add the product subtotal to the variable and printing it in the table footer. But this didn't work as expected. The subtotal on page one and page two are the same.
For better understanding what we want:
|Amount untaxed||2.000 |
Currently it prints the amount untaxed on every page.
Usually while the reports is getting printed, its hard to know whether the end of the page has reached or not.
If your line size is fixed say 10, you can define like...after the 9th line is printed, you add the subtotal of 9 lines asthe 10th line. And later on, the 11th line will print the 10th sale orer line and so on.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/8/15, 3:00 AM|
|Seen: 689 times|
|Last updated: 7/8/15, 6:30 AM|