` Totals or grandtotals don't print (Arnor Baldvinsson) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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



Today is November 21, 2024, 3:39 am
This article has been viewed 35254 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: