| Sub ADOSetJetDBOption() Dim cnn As New ADODB.Connection cnn.Provider = "Microsoft.Jet.OLEDB.4.0;" cnn.Open ".\NorthWind.mdb" cnn.Properties("Jet OLEDB:Page Timeout") = 4000 cnn.Close 'The following table lists the values that can be set with DAO's SetOption method and the corresponding property to use 'with ADO. 'DAO constant ADO property 'dbPageTimeout Jet OLEDB:Page Timeout 'dbSharedAsyncDelay Jet OLEDB:Shared Async Delay 'dbExclusiveAsyncDelay Jet OLEDB:Exclusive Async Delay 'dbLockRetry Jet OLEDB:Lock Retry 'dbUserCommitSync Jet OLEDB:User Commit Sync 'dbImplicitCommitSync Jet OLEDB:Implicit Commit Sync 'dbMaxBufferSize Jet OLEDB:Max Buffer Size 'dbMaxLocksPerFile Jet OLEDB:Max Locks Per File 'dbLockDelay Jet OLEDB:Lock Delay 'dbRecycleLVs Jet OLEDB:Recycle Long-Valued Pages 'dbFlushTransactionTimeout Jet OLEDB:Flush Transaction Timeout End Sub |
Set Jet DB Option |
India web developer web development India | Freelance web development ecommerce web developer | Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design