applyorder_sort_the_result_set_.htm
Navigation: ABC Library Reference > ViewManager > ViewManager Methods >====== ApplyOrder (sort the result set) ====== | |
ApplyOrder, VIRTUAL
The ApplyOrder method applies the active sort order to the managed VIEW. The order applies starting with the next read from the VIEW.
The AddSortOrder method sets the available sort orders.The SetSort method sets the active sort order.
Implementation:
The ViewManager implements sort orders with the VIEW's ORDER attribute. See the Language Reference for more information.
Example:
MyView.AddSortOrder(ORD:ByCustomer) !sort by customer no
!program code
MyView.ApplyOrder !apply the order
MyView.Next() !get next in specified order
See Also: AddSortOrder, SetSort
applyorder_sort_the_result_set_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1