Hello,
I'm calling a report (extend ObjectRun) from a class (Extends RunBaseReport) from the run method with the following code:
while SELECT myTable {
args = new Args (reportStr (myReport));
args.caller (this);
args.record (myTable);
rpt = new ReportRun (args);
rpt.printJobSettings ().setTarget (printMedium::File);
rpt.printJobSettings ().format (printFormat::PDF);
rpt.printJobSettings ().fileName (shipListShipToTbl.filename);
rpt.report ().interactive (false);
rpt.query ().interactive (false);
rpt.init ();
rpt.run ();
}
Is there a way to wait for the report to finish before processing the record? And receive status, i.e. terminate the loop if the report fails from some reason? Unfortunately I can't or prefer not to modify the called report.
Jim Richardson
*This post is locked for comments