Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpenDatabase method

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
I am using Access 97. I try to use OpenDatabase method to open a database protected by the database password. The code is:<br><br>Dim db As Database<br>Set db = OpenDatabase(&quot;c:\test\backend.mdb&quot;, , , &quot;ODBC; pwd=a&quot;)<br><br>However, I always get the error message telling me that the password is invalid. I am pretty sure that the password I typed - &quot;a&quot;is correct.<br><br>I do not think this is a complicated problem. But I just can not get through it. What mistake do I make?<br><br>Any help is appreciated. Thanks in advance.<br><br>Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top