User Tools

Site Tools


next_get_next_report_record_.htm
Navigation:  ABC Library Reference > ReportManager Class > ReportManager Methods >====== Next (get next report record) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Next, VIRTUAL, PROC

blk2blue.jpg

The Next method gets the next report record and returns a value indicating whether the the report is completed, cancelled, or in progress. Valid return values are:

Level:Benign proceeding normally
Level:Notify completed normally
Level:Fatal cancelled or ended abnormally

Member of: ReportManager

Implementation:

The Next method calls the ProcessClass.Next method to get the next report record. When the report is completed or canceled, the Next method sets the Response property and POSTs an EVENT:CloseWindow to end the progress window procedure.

Return Data Type:     BYTE

Example:

ReportManager.Open  PROCEDURE

CODE

 PARENT.Open

 SELF.Process.Reset

 IF ~SELF.Next()

  IF ~SELF.Report&=NULL

   OPEN(SELF.Report)

   IF ~SELF.Preview &= NULL

    SELF.Report{PROP:Preview} = SELF.PreviewQueue.Filename

   END

  END

 END

See Also:     ProcessClass.Next, WindowManager.Response

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