D
dsc
This code:
Dim Pword As Variant
Pword = "garble"
Set myDataBase = OpenDatabase("C:\Download\valid.mdb", , , "PWD=Pword")
Returns a "Not a valid password" error.
I used the Access Tools\Security\Set Database Password menu to set the
password as garble, and when I open the database normally from Access it
works.
Can anybody see what I'm doing wrong?
TIA
Dim Pword As Variant
Pword = "garble"
Set myDataBase = OpenDatabase("C:\Download\valid.mdb", , , "PWD=Pword")
Returns a "Not a valid password" error.
I used the Access Tools\Security\Set Database Password menu to set the
password as garble, and when I open the database normally from Access it
works.
Can anybody see what I'm doing wrong?
TIA