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_Data in Category Access/Jet Databases : Snippets from Total Visual SourceBook

Comparison of common data access activities against Jet table data 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_Data module
ShowExecuteBulkOpQuery_ADO Procedure Show how to execute a bulk-operation (action) query using ADO.
ShowExecuteBulkOpQuery_DAO Procedure Show how to execute a bulk-operation (action) query using DAO.
ShowExecuteParamQuery_ADO Procedure Show how to run a saved query that uses parameters with ADO.
ShowExecuteParamQuery_DAO Procedure Show how to run a saved query that uses parameters with DAO.
ShowFilterRecordset_ADO Procedure Show how to use ADO to apply a filter to a recordset.
ShowFilterRecordset_DAO Procedure Show how to use DAO to apply a filter to a recordset.
ShowFindRecord_ADO Procedure Show how to use the Find method to locate a record using ADO in an ADO recordset.
ShowFindRecord_DAO Procedure Show how to use the Find method to locate a record using DAO in a DAO recordset.
ShowOpenDatabase_ADO Procedure Show how to open a Jet database using ADO
ShowOpenDatabase_DAO Procedure Show how to open a Jet database using DAO
ShowOpenDatabaseReadOnly_ADO Procedure Show how to open a Jet database object as Read-Only using ADO
ShowOpenDatabaseReadOnly_DAO Procedure Show how to open a Jet database object as Read-Only using DAO
ShowOpenExcelISAM_DAO Procedure Show how to open an Excel spreadsheet as a Jet object using Jet's Excel ISAM driver with DAO.
ShowOpenISAMDatabase_ADO Procedure Show how to open an Excel spreadsheet as a Jet object using Jet's Excel ISAM driver with ADO.
ShowOpenRecordsetFORO_ADO Procedure Show how to open a forward-only, read-only recordset using ADO
ShowOpenRecordsetFORO_DAO Procedure Show how to open a forward-only, read-only recordset using DAO
ShowOpenUpdateableRecordset_DAO Procedure Show how to open an updateable recordset on a SQL string using DAO.
ShowRunSavedQuery_ADO Procedure Show how to run a row-returning saved query using ADO.
ShowRunSavedQuery_DAO Procedure Show how to run a row-returning saved query using DAO.
ShowSeekRecord_ADO Procedure Show how to find a record in an ADO recordset using the Seek method. Seeks are generally faster than Finds because Seek uses the Index object directly.
ShowSeekRecord_DAO Procedure Show how to find a record in a DAO recordset using the Seek method. Seeks are generally faster than Finds because Seek uses the Index object directly.
ShowSortRecordset_ADO Procedure Show how to use ADO to sort a recordset.
ShowSortRecordset_DAO Procedure Show how to use DAO to sort a recordset.
ShowUpdateRecordset_ADO Procedure Show how to open an updateable recordset on a SQL string using ADO.
ShowUseTransactions_ADO Procedure Show how to use Jet transactions in ADO
ShowUseTransactions_DAO Procedure Show how to use Jet transactions in DAO.

Example Code for Using Module: SnippetDAOParity_Data

' 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