Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DataListDataList Base Class

Public Sub SortInternal (
FirstColNameorIndex As Variant,
SortAsc As Boolean,
MoreColsAndSortTypesArray As Variant
)

The same as Sort but takes a variant holding the MoreColsAndSortTypes values. Used to pass in code-constructed arrays or ParamArrays from external functions.

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

MoreColsAndSortTypesArray as Variant

A list of pairs of column index or name and True/False values, indicating sort settings for additional columns. The array is passed in as a variant.

Call Template:

Dim obj As New xf_DataList
obj.SortInternal FirstColNameorIndex, SortAsc, MoreColsAndSortTypesArray

See Also:

Example 1:

Public Sub MyCustomSort(FirstColNameorIndex As Variant, SortAsc As Boolean, ParamArray MoreColsAndSortTypes() As Variant)
Dim tmpArr As Variant
tmpArr = MoreColsAndSortTypes()
SortInternal FirstColNameorIndex, SortAsc, tmpArr
End Sub
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd