Print totals at the beginning of a report

it is now possible to print aggregate values before the first detail row is printed. As a result, totals can be printed at the beginning for a report, for example.

While this feature adds flexibility to the designs, the output has to be delayed until the input has been processed to the point where the variable value is shipped. In the case of a grand total which is shipped at the end of the report, the entire input would be consumed before the document fragment containing the total would be output. If, on the other hand, the lookahead distance is small (a few hundred rows such as printing the total of an order in advance), the delay will hardly be noticeable.