| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > FormVCRClass > FormVCRClass Methods >====== ResetSort (apply sort order to FormVCR) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[previous get the previous formvcr item .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setalerts alert keystrokes for formvcr controls .htm|{{btn_next_n.gif|Next page}}]] | | || **ResetSort(**// force //**), VIRTUAL, PROC** {{blk2blue.jpg|blk2blue.jpg}} | **ResetSort** | Reapplies the active sort order to the FormVCR controls. | | //force// | A numeric constant, variable, EQUATE, or expression that indicates whether to reset the FormVCR object conditionally or unconditionally. A value of one (1 or True) unconditionally resets the FormVCR; a value of zero (0 or False) only resets the FormVCR as circumstances require (sort order changed, reset fields changed, first loading, etc.). | The **ResetSort **method reapplies the active sort order to the FormVCR object and returns one (1) if the sort order changed; it returns zero (0) if the order did not change. Any range limits, locators, or reset fields associated with the sort order are enabled. **Implementation:** The ResetSort method calls the SetSort method to apply the current sort order. **Return Data Type:**     BYTE