Hi Brian,
I tried putting a user id and password and it didn't work. I researched on it some more and this is suppose to be the correct way of handling the connection string. The only problem is, it still does not work. I am getting an invalid password error message. I swear I did not make a mistake on typing the password. Can anyone please help.
Thanks,
Judy
Dim objConn
curDir = Server.MapPath("db/myDatabase.mdb")
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & curDir & ";Jet OLEDB:Database Password=" & mypassword
|