G
Guest
I am trying to link tables programatically from a password protected database.
Assuming the password is "fred" the connect fails with an "Invalid Password
Message" when I use any of the following:
tdf.Connect = ";DATABASE=" & strFileName
tdf.Connect = ";DATABASE=" & strFileName & ";Password=fred"
tdf.Connect = ";DATABASE=" & strFileName & ";Password='fred'"
tdf.Connect = ";DATABASE=" & strFileName & "Jet OLEDBatabase Password=fred"
tdf.Connect = ";DATABASE=" & strFileName & "Jet OLEDBatabase
Password='fred'"
Any ideas?
Assuming the password is "fred" the connect fails with an "Invalid Password
Message" when I use any of the following:
tdf.Connect = ";DATABASE=" & strFileName
tdf.Connect = ";DATABASE=" & strFileName & ";Password=fred"
tdf.Connect = ";DATABASE=" & strFileName & ";Password='fred'"
tdf.Connect = ";DATABASE=" & strFileName & "Jet OLEDBatabase Password=fred"
tdf.Connect = ";DATABASE=" & strFileName & "Jet OLEDBatabase
Password='fred'"
Any ideas?