User Tools

Site Tools


setprogresslimits_calibrate_the_progress_monitor_.htm
Navigation:  ABC Library Reference > ProcessClass > ProcessClass Methods >====== SetProgressLimits (calibrate the progress monitor) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetProgressLimits

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

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, Reset, StepClass.SetLimit

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