Returns the RecordSet contents as a two dimensional array.
object.ToArray( [FieldNames] [,MaxRecords] ) |
- FieldNames
- Optional. A Boolean that specifies whether field names are included in the Array.
- MaxRecords
- Optional. A Long that represents the maximum number of records to return.
Array
The Array returned is two dimensional. The first dimension contains the rows of the RecordSet and the second dimension contains the columns.
If the FieldNames argument is True (the default), row 0 contains the field names. If the FieldNames argument is False, row 0 contains the first row of data.
If the FieldNames argument is True (the default), row 0 contains the field names. If the FieldNames argument is False, row 0 contains the first row of data.