AndrewMozley
Programmer
I have a report which is a sales invoice and I want to print the invoice totals (and related captions) on the last page.
At present I put the fields into the page footer and have a "Print When" clause for each field, saying effectively "Print when _pageno = _pagetotal".
I would like to make it easier for the user who may modify the report, and have tried setting a report variable,
"LastPage" which is set to this logical value, so that the user would only have to test this.
This does not always work, even though I set it in the "On entry" to the page footer as well as in the "Value" where I define the report variable.
Is there an easier way of printing report totals in the footer of the last page only?
Thanks. Andrew Mozley
At present I put the fields into the page footer and have a "Print When" clause for each field, saying effectively "Print when _pageno = _pagetotal".
I would like to make it easier for the user who may modify the report, and have tried setting a report variable,
"LastPage" which is set to this logical value, so that the user would only have to test this.
This does not always work, even though I set it in the "On entry" to the page footer as well as in the "Value" where I define the report variable.
Is there an easier way of printing report totals in the footer of the last page only?
Thanks. Andrew Mozley