Opening a Microsoft Jet Database in Read/Write Mode : Microsoft Jet « Access « VBA / Excel / Access / Word






Opening a Microsoft Jet Database in Read/Write Mode

 
'Intrinsic constants of the Connection object's Mode property 
Constant Name           Value    Type of Permission
adModeUnknown           0        Permissions have not been set yet or cannot be determined. This is the default setting.
adModeRead              1        Read-only permissions
adModeWrite             2        Write-only permissions
adModeReadWrite         3        Read/write permissions
adModeShareDenyRead     4        Prevents others from opening the connection with read permissions
adModeShareDenyWrite    8        Prevents others from opening the connection with write permissions
adModeShareExclusive    12       Prevents others from opening the connection
adModeShareDenyNone     16       Prevents others from opening the connection with any permissions

 








Related examples in the same category

1.Include the database version information with the JetOLEDB:Engine Type property
2.connect to JET
3.Read table schema
4.Connection String to Access database
5.Use Recordset.Support to check the supported features
6.Create new database
7.Open a worksheet through OLEDB
8.Sub addJetSqlUser()
9.A Simple Connection Example