Adding page totals to reports
Listings can often span multiple pages making it easy to lose track of the totals. NAV allows you to easily add a textbox to the bottom or top of a page to show these subtotals to the user.
How to do it...
Create a new report using the Report Generation Wizard on table 21, Cust. Ledger Entry.
On the second wizard window, add the Customer No., Posting Date, and Amount fields.
On the third wizard window, set the Sorting Order to Customer No., Posting Date, Currency Code.
Click Finish.
View the sections for the report.
Add a second Header section.
Move the column labels to the Header section.
Add a TransHeader section.
Add a TransFooter section.
Add a textbox to both sections.
Set the following property on each textbox control:
Property
Value
SourceExpr
Amount
Add a textbox to the TransHeader section.
Set the following property on the textbox control:
Property
Value
SourceExpr
'Transferred from previous page'
Add a textbox to the TransFooter section.
Set the following...