T
Torsten Hannerfeldt
Hello!
How do I open a connection to a password protected access database? I'm not
using user level protection, only the database itself is protected.
Public cn As ADODB.Connection
Public Sub ConnectToDatabase()
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = "
& _
strDBPath & "db1.mdb;"
cn.Open
End Sub
How do I open a connection to a password protected access database? I'm not
using user level protection, only the database itself is protected.
Public cn As ADODB.Connection
Public Sub ConnectToDatabase()
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = "
& _
strDBPath & "db1.mdb;"
cn.Open
End Sub