User Tools

Site Tools


order_sort_range_limit_and_filter_information_.htm
Navigation:  ABC Library Reference > ViewManager > ViewManager Properties >====== Order (sort, range-limit, and filter information) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
Order &SortOrder, PROTECTED

blk2blue.jpg

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

order_sort_range_limit_and_filter_information_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1