The getRows method of the Recordset class retrieves multiple records of a Recordset object into an array. getRows has the following signatures:
getRows()
getRows(int Rows)
getRows(int Rows, java.lang.Object bmkStart)
getRows(int Rows, Object bmkStart, Object[] fieldList)
Retrieves multiple records of a Recordset object into an array.
public com.ms.com.Variant getRows();
Returns a Variant whose value is a two-dimensional array.
Retrieves multiple records of a Recordset object into an array.
public com.ms.com.Variant getRows(int Rows);
Returns a Variant whose value is a two-dimensional array.
Rows | An AdoEnums.GetRowsOption value that indicates the number of records to retrieve. The default is REST. |
Retrieves multiple records of a Recordset object into an array.
public com.ms.com.Variant getRows(int Rows, java.lang.Object bmkStart);
Returns a Variant whose value is a two-dimensional array.
Rows | An AdoEnums.GetRowsOption value that indicates the number of records to retrieve. The default is REST. |
bmkStart | A string or Variant that evaluates to the bookmark for the record from which the getRows operation should begin. You can also use a AdoEnums.Bookmark value. |
Retrieves multiple records of a Recordset object into an array.
public Object[][] getRows(int Rows, Object bmkStart, Object[] fieldList);
Returns a Variant whose value is a two-dimensional array.
Rows | An AdoEnums.GetRowsOption value that indicates the number of records to retrieve. The default is REST. |
bmkStart | A string or Variant that evaluates to the bookmark for the record from which the getRows operation should begin. You can also use a AdoEnums.Bookmark value. |
fieldList | A Variant that represents a single field name or ordinal position or an array of field names or ordinal position numbers. ADO returns only the data in these fields. |