| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ReportManager Class > ReportManager Methods >====== Next (get next report record) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[kill shut down the reportmanager object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[open a virtual to execute on event openwindow reportmanager .htm|{{btn_next_n.gif|Next page}}]] | | || **Next, VIRTUAL, PROC** {{blk2blue.jpg|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 methods.htm|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:**     [[next get next element .htm|ProcessClass.Next]], [[response response to database request .htm|WindowManager.Response]]