Navigation: ABC Library Reference > ViewManager > ViewManager Properties >====== Order (sort, range-limit, and filter information) ====== | |
Order | &SortOrder, PROTECTED |
The Order property is a reference to a structure that contains the sort, range, and filter information for the managed VIEW. The ViewManager methods use this information to sort, range limit, and filter the VIEW result set.
Several ViewManager methods affect the contents of the Order property, including AddSortOrder, AddRange, AppendOrder, and SetFilter. The SetOrder method overrides a particular sort order, and the SetSort method determines which sort order is current for the underlying VIEW.
Implementation:
The Order property is a reference to QUEUE declared in ABFILE.INC:
FilterQueue QUEUE,TYPE
ID STRING(30) !sorted to indicate priority
Filter &STRING !filter expression
END
SortOrder QUEUE,TYPE !sort & filter information
Filter &FilterQueue !ANDed list of filter expressions
FreeElement ANY !the Free key element
LimitType BYTE !range limit type flag
MainKey &KEY !the main KEY
Order &STRING !ORDER expression list
RangeList &BufferedPairsClass !list of fields in range limit
END
See Also: AddSortOrder, AddRange, AppendOrder, SetFilter, SetOrder, SetSort