Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DataListDataList Base Class

Public Function GetRowIndexFromPKVal (
PkVal As String
) As Long

Get the row index matching a (possibly multi column) unique value

PKVal

The value of the unique column

PkVal as String

(no description)

Call Template:

Dim obj As New xf_DataList
Dim i As Long
i = obj.GetRowIndexFromPKVal(PKVal, PkVal)

See Also:

Example 1:

lst.SetupPKCache "CustomerID, CompanyName"
Debug.Print lst.GetRowIndexFromPKVal(lst.FormatMultiRowPK("BERGS", "Berglunds snabbk?p"))

Example 2:

lst.SetupPKCache "CustomerID"
Debug.Print lst.GetRowIndexFromPKVal("BERGS")
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd