| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ProcessClass > ProcessClass Methods >====== SetProgressLimits (calibrate the progress monitor) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[reset position to the first element .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takelocate a virtual to process each filter .htm|{{btn_next_n.gif|Next page}}]] | | || **SetProgressLimits** {{blk2blue.jpg|blk2blue.jpg}} The **SetProgressLimits **method supplies the upper and lower boundaries of the result set--considering the active sort order, range limits, and filters--to the StepClass object that monitors the progress of the process. The Init method specifies the StepClass object. **Member of: [[processclass methods.htm|ProcessClass]]** **Implementation:** The SetProgressLimits method assumes a StepClass object is specified. The Reset method conditionally calls the SetProgessLimits method. The SetProgressLimits method calls the StepClass.SetLimits method. **Example:** **MyProcessClass.Reset PROCEDURE       !prepare to process the records** ** CODE** ** SELF.RecordsProcessed = 0           !set RecordsProcessed to 0** ** SELF.SetProgressLimits              !set StepClass boundaries based** **                                     ! on actual data processed** ** PARENT.Reset                        !call ViewManager.Reset to** **                                     !position to the first record** **See Also:     **[[init initialize the processclass object .htm|Init]], [[reset position to the first element .htm|Reset]], [[setlimit set smooth data distribution stepclass .htm|StepClass.SetLimit]]