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

Example of working with Jet/Access data using the ActiveX Data Objects (ADO) object model using VBA and VB6.

Procedure Name Type Description
(Declarations) Declarations Declarations and private variables for the modSnippetADOJetData module.
ShowADOExecuteJetBulkOpQuery Procedure Show how to execute a bulk operation (action) query against Jet data using ADO.
ShowADOFindUsingJetCursor Procedure Show how to use the Find method in ADO to locate records in a Jet table.
ShowADOForwardOnlyReadOnlyJetRecordset Procedure Show how to open a forward-only, read-only recordset against Jet data using ADO.
ShowADOJetParameterQueryExecute Procedure Show how to open a recordset on a parameterized, row-returning Jet query.
ShowADOReadJetTable Procedure Show how to use ADO in a simple case to open a table and read records.
ShowADORecordsetSupports Procedure Show how to use the Supports property to determine the attributes of a recordset.
ShowADOSampleJetRecordLocking Procedure Show how to use ADO to open a Jet database using record-level locking.
ShowADOSeekJetRecord Procedure Show how to use ADO to Seek on a Jet table.
ShowADOSeekLinkedTable Procedure Show how to use ADO to seek on a linked table.
ShowADOShapedRecordset Procedure Show how to use ADO to create a hierarchical recordset using the Data Shape provider.
ShowADOSortRecordset Procedure Show how to sort an ADO recordset.
ShowADOUpdateJetRecordset Procedure Show how to open an updateable, scrollable recordset on a Jet table and update it.
ShowADOUseFilter Procedure Show how to use a Filter on an ADO recordset.
ShowADOUseJetTransaction Procedure Show how to work with Jet transactions using ADO.
ShowADOUseUDLconnection Procedure Show how to use a Microsoft Universal Data Link (UDL) file to connect to a data source.
ShowShowCursorPerformanceWithJet Procedure Perform a time comparison when searching against a table using ADO's Client Cursor vs. Jet's Server Cursors. The end result is that Jet's Server cursor is quite a bit faster than ADO's cursor.
' 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.

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.

Total Visual SourceBook is written for the needs of a developer using a source code library covering the many challenges you face. Countless developers over the years have told us they learned some or much of their development skills and tricks from our code. You can too!

Additional Resources

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 and VB6

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


View all FMS products for Microsoft Access All Our Microsoft Access Products

Reviews

Reader Choice Award for MS Access Source Code Library
Reader Choice

"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

SourceBook Info

Additional Info

Question

 

 

Free Product Catalog from FMS