O'Reilly logo

Access™ 2007 VBA Programmer's Reference by Armen Stein, Geoffrey Griffith, Rob Cooper, Teresa Hennig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

E.6. Recordset Object

The Recordset object is used to read or manipulate data in an ADO data source. It represents the set of records from a table or the results of an executed command. All recordsets consist of records (rows) and fields (columns). Depending on the functionality supported by the provider, some Recordset methods or properties may not be available.

E.6.1. Properties of the Recordset Object

The Recordset object has a variety of properties and methods you'll use in your programming. The following table describes the properties.

PropertyDataTypeDescription
AbsolutePageLongIdentifies the page the current record of the Recordset is on.
AbsolutePositionLongIdentifies the position of the current record in the Recordset.
ActiveCommandVariantPointer to the Command object that created the Recordset.
ActiveConnectionString or ConnectionSpecifies the Connection object used to retrieve the Recordset.
BOFBooleanTrue if you're currently at the beginning of the file, the position before the first record.
BookmarkVariantAllows you to return to a specific record in the Recordset.
CacheSizeLongThe number of records ADO caches from the server.
CursorLocationLongLists whether the cursor service that maintain the results of the query is client-side or server-side.
CursorTypeCursorTypeEnumSpecifies the type of cursor used to access the query results (dynamic, keyset, status, forward-only).
DataMemberStringSpecifies which Recordset in the data source you're referring to.
DataSourceObjectAllows you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required