| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ProcessClass > ProcessClass Methods >====== Reset (position to the first element) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[next get next element .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setprogresslimits calibrate the progress monitor .htm|{{btn_next_n.gif|Next page}}]] | | || **Reset, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **Reset **method postions the process to the first element in the result set and resets the progress indicators. **Member of: [[processclass methods.htm|ProcessClass]]** **Implementation:** The Reset method resets the RecordsProcessed property to zero (0), conditionally calls the SetProgressLimits method, then calls the ViewManager.Reset method. **Example:** **  CASE EVENT()** **  OF Event:OpenWindow** **   Process.Reset                 !position to first record** **   IF Process.Next()             !get first record** **    POST(Event:CloseWindow)      !if no records, shut down** **    CYCLE** **   END** **See Also:     **[[setprogresslimits calibrate the progress monitor .htm|SetProgressLimits]], [[reset reset the view position .htm|ViewManager.Reset]]