Get
Description
Description
This will return the current sorting order.
Syntax
Syntax
Function Get
Parameters
Parameters
none
Return value
Return value
variant - Empty: no sorting order. Otherwise, a two element array: the first element is an array of fields, the second array contains the direction of sorting for the corresponding field. true: ascending order; false: descending order
Example
Sample code
Dim order
order = Sort.Get()
If Not IsEmpty( order ) Then
Target.Message order(0)(0) & " First field"
Target.Message order(0)(1) & " Second field"
End If
See also