interrupting reports
Posted in 1992
Can someone help with this, pls? How does one interrupt an I-4GL report? For instance, why doesn't this work? ... FOREACH cursor INTO variable IF int_flag THEN EXIT FOREACH ELSE OUTPUT TO REPORT blahblah END IF END FOREACH FINISH REPORT ... Actually, I've tried placing the test for the interrupt in various locations and have tried putting a FINISH REPORT statement in the TRUE clause of the IF, etc. The only way I have now of interrupting a report is to wack it on the head with a QUIT signal. Do I need to defer the QUIT interrupt and trap for that, then turn it back on when I'm done. (Actually, I just thought of this as I typed this message, so I'll go try that now...) Thanks! Andy -- +--------------------------------------------------------------------+ | Andrew Hart | CompuTrac, Inc. | | (214) 234-4241 | 222 Municipal Drive | | andy@cmptrc.lonestar.org | Richardson, TX 75080 | +--------------------------------------------------------------------+