Row Method

Object List Next Object

Defined By:
Dynaset

Description:

Returns an object that represents a specific row (record) designated by a position value. The position is an offset from the start of the object that the row is called for.

Declaration:

Function Row(ByVal position As Long) As Dynaset

Details:

Row values are zero-based, meaning that the first row or record in the underlying database is Row(0). Row values may also be referred to as "line numbers" associated with an underlying database. The code below shows how the first row of a Dynaset may be captured both as an Object and as a text string.

Dim o As Dynaset
Dim s As String
o = <Dynaset>.Row(0)
s = <Dynaset>.Row(0).Value