Printing total pages in a report
Answer ID 3629 shows how to script using a Total Pages field to print a total pages number in a report.
When I use the script to print a report the Total Pages field is stuck on a previous value and will not update to reflect the current page total of the report.
However, when I step through the script using the Script Debugger, everything works as expected.
My script follows the example given in 3629 meticulously.
What's going on?