G
Guest
I am trying to reference another Access database with a database password.
However when I try to use the OpenDatabase method I keep getting an "invalid
password" error. I know the password is correct so I must not be assigning it
properly. The code looks like the following:
Set wrkspc = CreateWorkspace("", "admin", "", dbUseJet)
Set db = wrkspc.OpenDatabase("C:\Temp\RateDBSecurity.mdb", ,
False,";pwd=password1")
Can anyone tell me what I'm doing wrong?
However when I try to use the OpenDatabase method I keep getting an "invalid
password" error. I know the password is correct so I must not be assigning it
properly. The code looks like the following:
Set wrkspc = CreateWorkspace("", "admin", "", dbUseJet)
Set db = wrkspc.OpenDatabase("C:\Temp\RateDBSecurity.mdb", ,
False,";pwd=password1")
Can anyone tell me what I'm doing wrong?