User Tools

Site Tools


printreport_print_the_report_.htm
Navigation:  ABC Library Reference > ReportManager Class > ReportManager Methods >====== PrintReport (print the report) ====== Previous pageReturn to chapter overviewNext page

PrintReport, VIRTUAL

blk2blue.jpg

The PrintReport method is used to determine where a report output will be redirected. Based on the ReportTarget value, the report will be processed via the WMFparser, or as a standard report is handled by the ProcessResultFiles method.

Member of: ReportManager

Implementation:

The PrintReport method is called by the ReportManager's AskPreview method.

Example:

ReportManager.AskPreview PROCEDURE

 CODE

 IF NOT SELF.Report &= NULL AND SELF.Response = RequestCompleted

   IF SELF.EndReport()=Level:Benign

     IF NOT SELF.Preview &= NULL

       IF CHOOSE (NOT SELF.SkipPreview, SELF.Preview.Display(SELF.Zoom), TRUE)

         SELF.PrintReport() !Print after previewing

       ELSE

         SELF.CancelPrintReport()

       END

       FREE(SELF.Preview.ImageQueue)

     ELSE

       SELF.PrintReport()   !Print without previewing

       FREE(SELF.PreviewQueue)

     END

   ELSIF NOT SELF.Preview &= NULL

     FREE(SELF.Preview.ImageQueue)

   ELSE

     FREE(SELF.PreviewQueue)

   END

 END

printreport_print_the_report_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1