For clsD3DynamicArray Objects - searches through a clsD3DynamicArray for the specific occurrence of a character or substring returning the numeric position, if found. For clsD3SelectList Objects - returns the number of items that have been read from the list.
lValue1 = oSelectList.brIndex lValue2 = oDynArray.brIndex( sChrDelim, nInstance)
Parameter | Description |
---|---|
lValue1 | The return value is a Long data type indicating the number of items that have been read from the select list. |
oSelectList | An object variable that represents a clsD3SelectList object. |
lValue2 | The return value is a Long data type indicating the numeric position at which the nInstance occurrence of sChrDelim was found, or 0, if not found. |
oDynArray | An object variable that represents a clsD3DynamicArray object. |
sChrDelim | A String variable that defines the substring expression to be found in oDynArray. |
nInstance | A Long that defines a particular occurrence of sChrDelim to be found. |
Negative for all lists returned in chunks.
When using an RPC connection, if the D3List_TypeAcnt, D3List_Type_Dict, or D3List_TypeFile exists on the client, it may return a negative to indicate a partial list.
clsD3SelectList objects – The brReadnext method reads the next item from the select list and increments the value returned by this method.
index (clsD3DynamicArray Object)