Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DataListExtDataListExt Base Class

Public Function DisplayCols_ColIndexFromColName (
FieldName As String,
Optional FlagError As Boolean = False
) As Integer

Returns the display index of the named column. If the column name is not found, then the index -1 is returned and optionally an error is displayed.

FieldName as String

The name of the column.

Optional FlagError as Boolean = False

Display an error message if the named column is not found.

Call Template:

Dim obj As New xf_DataListExt
Dim i As Integer
i = obj.DisplayCols_ColIndexFromColName(FieldName)
i = obj.DisplayCols_ColIndexFromColName(FieldName, FlagError)

See Also:

Example 1:

Debug.Print lstExt.DisplayCols_ColIndexFromColName("CompanyName")   -> 2
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd