Shows a comparison of using common data access activities against Jet object structures 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_DDLEngine module
|
|
ShowChangedSavedQuery_ADO
|
Procedure
|
Shows how to modify an existing saved query using ADO.
|
|
ShowChangeSavedQuery_DAO
|
Procedure
|
Shows how to modify an existing saved query using DAO.
|
|
ShowCompactDatabase_ADO
|
Procedure
|
Shows how to use ADO to compact a database
|
|
ShowCompactDatabase_DAO
|
Procedure
|
Shows how to use DAO to compact a database
|
|
ShowCreateDatabase_ADO
|
Procedure
|
Shows how to use ADO to create a new Jet database.
|
|
ShowCreateDatabase_DAO
|
Procedure
|
Shows how to use DAO to create a new Jet database.
|
|
ShowCreateIndex_ADO
|
Procedure
|
Shows how to use ADO to create an index on a table.
|
|
ShowCreateIndex_DAO
|
Procedure
|
Shows how to use DAO to create an index on a table.
|
|
ShowCreateLinkedJetTable_ADO
|
Procedure
|
Shows how to use ADO to create a linked (attached) table.
|
|
ShowCreateLinkedJetTable_DAO
|
Procedure
|
Shows how to use DAO to create a linked (attached) table.
|
|
ShowCreateLinkedODBCTable_ADO
|
Procedure
|
Shows how to use ADO to create a Jet linked table to an ODBC datasource.
|
|
ShowCreateLinkedODBCTable_DAO
|
Procedure
|
Shows how to use DAO to create a Jet linked table to an ODBC datasource.
|
|
ShowCreatePassThroughQuery_ADO
|
Procedure
|
Shows how to create a Jet pass-through query using ADO.
|
|
ShowCreatePassThroughQuery_DAO
|
Procedure
|
Shows how to create a Jet pass-through query using DAO.
|
|
ShowCreateQuery_ADO
|
Procedure
|
Shows how to create a saved query using ADO
|
|
ShowCreateQuery_DAO
|
Procedure
|
Shows how to create a saved query using DAO
|
|
ShowCreateRelationship_ADO
|
Procedure
|
Shows how to create a Jet relation object using ADO.
|
|
ShowCreateRelationship_DAO
|
Procedure
|
Shows how to create a Jet Relation object using DAO
|
|
ShowCreateTable_ADO
|
Procedure
|
Shows how to create a new table using ADO.
|
|
ShowCreateTable_DAO
|
Procedure
|
Shows how to create a new table using DAO.
|
|
ShowListQueries_ADO
|
Procedure
|
Shows how to generate a list of all saved queries in a database using ADO.
|
|
ShowListQueries_DAO
|
Procedure
|
Shows how to generate a list of saved queries in a database using DAO.
|
|
ShowListTables_ADO
|
Procedure
|
Shows how to generate a list of all tables in a database using ADO.
|
|
ShowListTables_DAO
|
Procedure
|
Shows how to generate a list of all tables in a database using DAO.
|
|
ShowRefreshLinks_ADO
|
Procedure
|
Shows how to update all the linked tables in a database to point to a new location using ADO.
|
|
ShowRefreshLinks_DAO
|
Procedure
|
Shows how to update all the linked tables in a database to point to a new location using DAO.
|
|
ShowSetJetDBOption_ADO
|
Procedure
|
Shows how to override Jet engine defaults for a database using ADO.
In this example, we'll use ADO to set the PageTimeout value to 4 seconds.
|
|
ShowSetJetDBOption_DAO
|
Procedure
|
Shows how to override Jet engine defaults for a database using DAO.
In this example, we'll use DAO to set the PageTimeout value to 4 seconds.
|