Shows a comparison of using common data access activities against Jet table data using the DAO and ADO methods.
While most Access and VB projects that use Jet use the DAO object model, new extensions to ADO make it possible to use ADO instead. This module shows common DAO tasks and then shows the equivalent ADO code.
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the modSnippetDAOParity_Data module
|
|
ShowExecuteBulkOpQuery_ADO
|
Procedure
|
Shows how to execute a bulk-operation (action) query using ADO.
|
|
ShowExecuteBulkOpQuery_DAO
|
Procedure
|
Shows how to execute a bulk-operation (action) query using DAO.
|
|
ShowExecuteParamQuery_ADO
|
Procedure
|
Shows how to run a saved query that uses Parameters with ADO.
|
|
ShowExecuteParamQuery_DAO
|
Procedure
|
Shows how to run a saved query that uses Parameters with DAO.
|
|
ShowFilterRecordset_ADO
|
Procedure
|
Shows how to use ADO to apply a filter to a recordset.
|
|
ShowFilterRecordset_DAO
|
Procedure
|
Shows how to use DAO to apply a filter to a recordset.
|
|
ShowFindRecord_ADO
|
Procedure
|
Shows how to use the Find method to locate a record using ADO in an ADO recordset.
|
|
ShowFindRecord_DAO
|
Procedure
|
Shows how to use the Find method to locate a record using DAO in a DAO recordset.
|
|
ShowOpenDatabase_ADO
|
Procedure
|
Shows how to pen a Jet database object using ADO
|
|
ShowOpenDatabase_DAO
|
Procedure
|
Shows how to open a database using DAO
|
|
ShowOpenDatabaseReadOnly_ADO
|
Procedure
|
Shows how to open a Jet database object as Read-Only using ADO
|
|
ShowOpenDatabaseReadOnly_DAO
|
Procedure
|
Shows how to open a Jet database object as Read-Only using DAO
|
|
ShowOpenExcelISAM_DAO
|
Procedure
|
Shows how to open an Excel spreadsheet as a Jet object using Jet's Excel ISAM driver with DAO.
|
|
ShowOpenISAMDatabase_ADO
|
Procedure
|
Shows how to open an Excel spreadsheet as a Jet object using Jet's Excel ISAM driver with ADO.
|
|
ShowOpenRecordsetFORO_ADO
|
Procedure
|
Shows how to open a forward-only, read-only recordset using ADO
|
|
ShowOpenRecordsetFORO_DAO
|
Procedure
|
Shows how to open a forward-only, read-only recordset using DAO
|
|
ShowOpenUpdateableRecordset_DAO
|
Procedure
|
Shows how to open an updateable recordset on a SQL string using DAO.
|
|
ShowRunSavedQuery_ADO
|
Procedure
|
Shows how to run a row-returning saved query using ADO.
|
|
ShowRunSavedQuery_DAO
|
Procedure
|
Shows how to run a row-returning saved query using DAO.
|
|
ShowSeekRecord_ADO
|
Procedure
|
Shows how to find a record in an ADO recordset using the Seek method.
Seeks are generally faster than Finds because the use the Index object directly.
|
|
ShowSeekRecord_DAO
|
Procedure
|
Shows how to rind a record in a DAO recordset using the Seek method.
Seeks are generally faster than Finds because the use the Index object directly.
|
|
ShowSortRecordset_ADO
|
Procedure
|
Shows how to use ADO to sort a recordset.
|
|
ShowSortRecordset_DAO
|
Procedure
|
Shows how to use DAO to apply a filter to a recordset.
|
|
ShowUpdateRecordset_ADO
|
Procedure
|
Shows how to open an updateable recordset on a SQL string using ADO.
|
|
ShowUseTransactions_ADO
|
Procedure
|
Shows how to use Jet transactions in ADO
|
|
ShowUseTransactions_DAO
|
Procedure
|
Shows how to use Transactions in DAO.
|