Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DataListDataList Base Class

Public Sub Sort (
FirstColNameorIndex As Variant,
SortAsc As Boolean,
ParamArray MoreColsAndSortTypes() As Variant
)

Quicksort the DataList on the specified columns

FirstColNameorIndex as Variant

The column index or name of the first column to sort

SortAsc as Boolean

True to sort ascending, False to sort descending

ParamArray MoreColsAndSortTypes() as Variant

A list of pairs of column index or name and True/False values, indicating sort settings for additional columns

Call Template:

Dim obj As New xf_DataList
obj.Sort FirstColNameorIndex, SortAsc, MoreColsAndSortTypes

See Also:

Example 1:

lst.Sort "CategoryID", True, "ProductName", False
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd