SortDirection Property (RDS)

Microsoft ActiveX Data Objects (ADO)

SortDirection Property (RDS)

       

Indicates whether a sort order is ascending or descending.

Syntax

DataControl.SortDirection = value

Parameters

DataControl   An object variable that represents an RDS.DataControl object.

Value   A Boolean value that, when set to True, indicates the sort direction is ascending. False indicates descending order.

Remarks

The SortColumn, SortDirection, FilterValue, FilterCriterion, and FilterColumn properties provide sorting and filtering functionality on the client-side cache. The sorting functionality orders records by values from one column. The filtering functionality displays a subset of records based on find criteria, while the full Recordset is maintained in the cache. The Reset method will execute the criteria and replace the current Recordset with an updatable Recordset.