Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

ADORecordset Objects

ADORecordset objects provide most of your interactions with the data. They are used to contain a set of records returned from the datasource. You can open a recordset directly by calling its Open() method, or you can generate a recordset by calling Execute() on a Connection or Command object.

The Recordset object represents all the rows returned from the data source, although you might work with only one row at a time—the current row. The data in a row is manipulated by working with the Field objects contained in the recordset's Fields collection.

ADORecordset Properties

All ADORecordset objects have the following properties. Most of these can be used to set or retrieve information about the current state of the recordset, and setting others can perform operations, such as scrolling, on the recordset:

ADORecordset Methods

ADORecordset objects also expose the following methods:

Share ThisShare This

Informit Network