Example code that shows how to work with Jet/Access data using the ActiveX Data Objects (ADO) object model
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the modSnippetADOJetData module
|
|
ShowADOExecuteJetBulkOpQuery
|
Procedure
|
Shows how to execute a bulk operation (action) query against Jet data using ADO.
|
|
ShowADOFindUsingJetCursor
|
Procedure
|
Shows how to use the Find method in ADO to locate records in a Jet table
|
|
ShowADOForwardOnlyReadOnlyJetRecordset
|
Procedure
|
Shows how to open a forward-only, read-only recordset against Jet data using ADO.
|
|
ShowADOJetParameterQueryExecute
|
Procedure
|
Shows how to opens a recordset on a parameterized, row-returning Jet query.
|
|
ShowADOReadJetTable
|
Procedure
|
Shows how to use ADO in a simple case to open a table and read records.
|
|
ShowADORecordsetSupports
|
Procedure
|
Shows how to use the Supports property to determine the attributes of a recordset
|
|
ShowADOSampleJetRecordLocking
|
Procedure
|
Shows how to use ADO to open a Jet database using record-level locking.
|
|
ShowADOSeekJetRecord
|
Procedure
|
Shows how to use ADO to Seek on a Jet table
|
|
ShowADOSeekLinkedTable
|
Procedure
|
Shows how to use ADO to seek on a linked table.
|
|
ShowADOShapedRecordset
|
Procedure
|
Shows how to use ADO to create a hierarchical recordset using the Data Shape provider.
|
|
ShowADOSortRecordset
|
Procedure
|
Shows how to sort an ADO recordset
|
|
ShowADOUpdateJetRecordset
|
Procedure
|
Shows how to open an updateable, scrollable recordset on a Jet table and update it.
|
|
ShowADOUseFilter
|
Procedure
|
Shows how to use a Filter on an ADO recordset
|
|
ShowADOUseJetTransaction
|
Procedure
|
Shows how to work with Jet transactions using ADO
|
|
ShowADOUseUDLconnection
|
Procedure
|
Shows how to use a Microsoft Universal Data Linke (UDL) file to connect to a data source.
|
|
ShowShowCursorPerformanceWithJet
|
Procedure
|
This code shows a time comparison when doing finds 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.
|