Record.GetAscending(Any) Method
Version: Available or changed with runtime version 1.0.
Gets the sort order for the records returned. You can use GETASCENDING to identify the sort order of the specified field because fields can be sorted in ascending or descending order. For example, you can read data from an ODATA web service where the data is sorted in ascending order on the Name field but in descending order on the City field.
Syntax
IsAscending := Record.GetAscending(Field: Any)
Parameters
Record
Type: Record
An instance of the Record data type.
Field
Type: Any
The field that you want to get the sort order for.
Return Value
IsAscending
Type: Boolean