Normally when you select records from a data source using a SQL SELECT statement, you get a result set, which is a set of records from a table or a query. With the database classes, you use a recordset object to select and access the result set. This is an object of an application-specific class that you derive from class
Using a
-
Examine the data fields of the current record.
-
Filter or sort the recordset.
-
Customize the default SQL SELECT statement.
-
Scroll through the selected records.
-
Add, update, or delete records (if both the data source and the recordset are updateable).
-
Test whether the recordset allows requerying and refresh the recordset's contents.
When you finish using the recordset object, you close and destroy it. For more information about recordsets, see Recordset (ODBC).