Complete Recordset Object Reference
The GetRows method copies multiple records from a Recordset object into a two-dimensional array.
| Parameter | Description |
|---|---|
| rows | Optional. A GetRowsOptionEnum
value that specifies the number of records to retrieve.
Default is adGetRowsRest. Note: If you omit this argument it will retrieve all records in the Recordset |
| start |
Optional. What record to start on, a record number or a BookmarkEnum value |
| fields | Optional. If you want to specify only the fields that the GetRows call will return, it is possible to pass a single field name/number or an array of field names/numbers in this argument |
| Constant | Value | Description |
|---|---|---|
| adGetRowsRest | -1 | Retrieves the rest of the records in the Recordset object |
| Constant | Value | Description |
|---|---|---|
| adBookmarkCurrent | 0 | Starts at the current record |
| adBookmarkFirst | 1 | Starts at the first record |
| adBookmarkLast | 2 | Starts at the last record |
Complete Recordset Object Reference
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.