Get(SortState)
Category: Get
Syntax: Get ( SortState ) |
Parameters: None
Data type returned: Number
Description:
Returns a number that represents the sort state of the active window.
Get (SortState) can be used in a customized interface where the Status Area is normally hidden from the user. Also, Get (SortState) can be used to correctly display sort icons in a customized interface.
A sorted found set becomes semi-sorted if new records are created. Omitting or deleting records does not cause the sort status to change, however. Subsummary reports may not show expected results when the found set is semi-sorted.
Examples:
Function |
Results |
---|---|
Get (SortState) |
Returns 0 if the found set in the active window is not sorted. |
Returns 1 if the found set in the active window is sorted. |
|
Returns 2 if the found set in the active window is partially sorted (semi-sorted). |