Share via

Include Database password; in command line to open Access 2016

Anonymous
2016-09-26T19:40:20+00:00

To date, there is no way to protect a database with permissions as in the previous versions of Access. The only way to protect my forms, reports, codes in an Access database application is to encrypt it with a password. If I include it in the command line, the user will not need to enter the database password and will be able to launch the software, with the database remaining protected. The other method to launch the software, can be to include in code the database password, however, I do not know how to go about that. I thought of another way, to use a macro, which I can include in the command line, and this macro will run, and enter the password, enabling the user to launch the software. However, I do not know how the macro can run the password.

I will appreciate any information regarding this issue.

Thank you.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

ScottGem 68,830 Reputation points Volunteer Moderator
2016-09-26T19:58:57+00:00

The only way to protect my forms, reports, codes in an Access database application is to encrypt it with a password. 

Not true! Compile your application as an accde and all those will be protected.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

ScottGem 68,830 Reputation points Volunteer Moderator
2016-09-26T21:11:12+00:00

I read the article in the following link

http://www.databasedev.co.uk/convert\_to\_accde\_format.html

Before converting a database to an ACCDE file, you must password protect the database and save all references to other Access databases.

Is the above statement true? If it is so, then if i protect it with a password. then how can the user open the database, if I cannot include the database password in the command line?

No the above statement is not true. This is the second time n recent months I've seen inaccuracies in articles from that site.

I create ACCDEs all the time without a password. The article is fairly accurate about what an ACCDE is but that statement is just totally false.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2016-09-26T21:00:45+00:00

You may find the following article useful in securing your database.

Securing Your MS Access Database Front-End

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-09-26T20:24:34+00:00

    I read the article in the following link

    http://www.databasedev.co.uk/convert\_to\_accde\_format.html

    Before converting a database to an ACCDE file, you must password protect the database and save all references to other Access databases.

    Is the above statement true? If it is so, then if i protect it with a password. then how can the user open the database, if I cannot include the database password in the command line?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-09-26T20:04:37+00:00

    Thanks A milion

    Was this answer helpful?

    0 comments No comments