Opening Dabase with Password

  • Thread starter Thread starter Reto
  • Start date Start date
R

Reto

Hello

Could someone help me on the following:

How do I have to open an Access.mdb that has a password,
lets say password is SECRECT


DBEngine.Workspaces(0).OpenDatabase(Access.mdb)

Thank you very much

Regards

Reto
 
Something like:

Set db = DBEngine.Workspaces(0).OpenDatabase(Access.mdb,,,MS
Access;PWD=SECRET;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top