` Printed Icetips Article

Icetips Article



Icetips Products: Totals or grandtotals don't print
2007-09-21 -- Arnor Baldvinsson
 
When used with ABC reports, the Icetips Previewer generates code into the derived AskPreview method of the ReportManager class.

Normally this is not a problem, however, if you manually print a grand total, or some other type of detail, at the end of the report, this may not be printed because the priority for the code you have embedded is too high. In that case your code will not execute until after the previewer has been called and then of course it will not print.

The fix for this is simply to move any code that you have in the AskPreview method of your ABC reports to a priority below 3000. Then it will execute before the Icetips Previewer is called and everything will work as it should. Use the Embeditor to verify that your code comes before the Previewer is called and before the final EndPage(Report) or SELF.EndPage() that is generated by the Icetips Previewer




Printed May 11, 2024, 3:17 pm
This article has been viewed/printed 35102 times.