` Using the "Pause the process" button template (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: Using the "Pause the process" button template
2004-04-02 -- Arnor Baldvinsson
 
The pause button can be used to run the same report multiple times. We discovered that this causes a small problem with the Checkbox Fixer since it had already been run on the report and wasn't prepared to run again. The results were that the first run worked fine, but any subsequent runs didn't apply the checkbox fixer at all.

The solution was simple. Put the following code in the Accepted embed of the Pause button:

 ITRE:Created = False
 Free(ITRE:Q)
This forces the Checkbox Fixer to run on the report when it's printed again.


Today is April 28, 2024, 9:35 am
This article has been viewed 35098 times.
Google search has resulted in 8 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: