ResetResets (copy the Reset fields)

Top  Previous  Next

 

ResetResets, PROTECTED

The ResetResets method copies the current values of the Reset fields so any subsequent changes in their contents can be detected.

The AddResetField method adds an associated reset field for the sort order defined by the preceding call to AddSortOrder. You may add multiple reset fields for each sort order with multiple calls to AddResetField.

Example:

MyBrowse.CheckReset  PROCEDURE

IF NOT SELF.Sort.Resets.Equal() !if reset fields changed,  

 SELF.ResetQueue(Reset:Queue)   !refresh Q

 SELF.ResetResets               !take a new copy of the reset field values

END

See Also:     AddResetField