I think its so simple
In Trailing part put a summary field that calculate ur results
Yes, we have couple summary fields on the trailing part. The trailing part is always right after the previous part, for example body. It can be at any location of last page. The location is depends on the end of body part location. Trailing part will not be always on the bottom of last page. For our application print out, we need the trailing part on the bottom of the last page.
Ok if you need to put at the bottm then just place it in the footer part
ya in the title footer part.
Of course, footer part is one of the solution. But, footer part will be on each page, except first page. On our application, we need to have it on the last page, not every page. For example, if we have 5-page invoice print out, the total amount need to be printed on the 5th page only. If we have it on the footer, it will be on page 2, page 3, page 4, and page 5.
Can someone help on this question? Thank you.
Frankly, I prefer using a trailing grand summary and letting it slide up close the the end of the last record myself, but....
I can think of a bit of a Kludge for this.
Apply the following conditional format expression to each object placed in the footer:
Get ( PageNumber ) ≠ $$LastPage
Specify either a white text color or a font size of 500 to make the text disappear when the above expression is true.
Write this script and run it just before you print your report:
Enter Preview Mode  // clear the pause check box
Go To record/Request/Page [last]
Set Variable [$$LastPage ; Value: Get ( PageNumber ) ]
This keeps text in the footer from being visible on all but the last page.