Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access/ Office 2016, 2013, 2010, and 2007 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!

Separate version for Access/Office 2003, 2002, and 2000.

Separate version for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

Microsoft Access, Office/VBA, VB6 Modules royalty-free source code libraryMicrosoft Access Modules royalty-free source code libraryMicrosoft Access VBA and VB6 Module Library Free trial of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA

Module: SnippetDAOParity_DDLEngine in Category Access/Jet Databases : Snippets from Total Visual SourceBook

Comparison of common data access activities against Jet object structures using the DAO and ADO methods in VBA and VB6.

While most Access and VB6 projects that use Jet use the DAO object model, ADO is also possible. This module shows common DAO tasks and then shows the equivalent ADO code.

Procedure List

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modSnippetDAOParity_DDLEngine module
ShowChangeSavedQuery_ADO Procedure Show how to modify an existing saved query using ADO.
ShowChangeSavedQuery_DAO Procedure Show how to modify an existing saved query using DAO.
ShowCreateDatabase_ADO Procedure Show how to use ADO to create a new Jet database.
ShowCreateDatabase_DAO Procedure Show how to use DAO to create a new Jet database.
ShowCreateIndex_ADO Procedure Show how to use ADO to create an index on a table.
ShowCreateIndex_DAO Procedure Show how to use DAO to create an index on a table.
ShowCreateLinkedJetTable_ADO Procedure Show how to use ADO to create a linked (attached) table.
ShowCreateLinkedJetTable_DAO Procedure Show how to use DAO to create a linked (attached) table.
ShowCreateLinkedODBCTable_ADO Procedure Show how to use ADO to create a Jet linked table to an ODBC datasource.
ShowCreateLinkedODBCTable_DAO Procedure Show how to use DAO to create a Jet linked table to an ODBC datasource.
ShowCreatePassThroughQuery_ADO Procedure Show how to create a Jet pass-through query using ADO.
ShowCreatePassThroughQuery_DAO Procedure Show how to create a Jet pass-through query using DAO.
ShowCreateQuery_ADO Procedure Show how to create a saved query using ADO
ShowCreateQuery_DAO Procedure Show how to create a saved query using DAO
ShowCreateRelationship_ADO Procedure Show how to create a Jet relation object using ADO.
ShowCreateRelationship_DAO Procedure Show how to create a Jet relation object using DAO
ShowCreateTable_ADO Procedure Show how to create a new table using ADO.
ShowCreateTable_DAO Procedure Show how to create a new table using DAO.
ShowListQueries_ADO Procedure Show how to generate a list of all queries in a database using ADO.
ShowListQueries_DAO Procedure Show how to generate a list of all queries in a database using DAO.
ShowListTables_ADO Procedure Show how to generate a list of all tables in a database using ADO.
ShowListTables_DAO Procedure Show how to generate a list of all tables in a database using DAO.
ShowRefreshLinks_ADO Procedure Show how to update all the linked tables in a database to point to a new location using ADO.
ShowRefreshLinks_DAO Procedure Show how to update all the linked tables in a database to point to a new location using DAO.
ShowSetJetDBOption_ADO Procedure Show 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 Show 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.

Example Code for Using Module: SnippetDAOParity_DDLEngine

' Snippet code is partial code that demonstrates a particular feature, and does include separate Example code.
' Please see the Snippet notes for information about customizing and implementing Snippet code.

Microsoft Access Module LibraryOverview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources