thank you for your help. i add "false" and it works.
strpassword = ";pwd=" & "physio"
On Error GoTo Erreur
Set DB = OpenDatabase(path & "\physio.mdb", False, False, strpassword)
I'm a new VB programmer. Here is my code. When my ms access database have no secure password, it's work (strpassword=""). But, when i put a secure password to my ms access database (pass), i can't open the database.
Can you help me. Thank you!
Note: the coding will be very helpfull.
Public Sub...
I want to know how to access a ms access database which have already a password with vb coding. How can i ask the user to enter a password to access the database.
Example: the ms access database have the password "password
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.