AdoCollection:Item Access

<< Click to Display Table of Contents >>

Navigation:  Support Classes > AdoCollection Class >

AdoCollection:Item Access

Previous pageReturn to chapter overviewNext page

Purpose

Access an individual object in the collection

 

Prototype

ACCESS Item ( uIndex AS USUAL )  AS OBJECT 

 

Argument(s)

uIndex        Symbol, String or numeric postion of the object in the Collection

 Note: The collections in Xs2Ado are by default 1-based ! You can change this through the AdoCollectionBase function

 

Return

OBJECT        Selected Object, or NULL_OBJECT when passing the wrong argument

 

See Also

AdoCollection, AdoCollectionBase, AdoCollection:AsArray, AdoCollection:ForEach, AdoCollection:Count,AdoCollection:Item()