ACC2000: How to Change the Database Password Through ADO (304915)
The information in this article applies to:
This article was previously published under Q304915 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
With Microsoft Jet version 4.0, you can change the database password by running a data-definition query. Because you can do this, it is relatively easy to set the database password through ActiveX Data Objects (ADO).
This article shows you how to set the database password, and then how to resetting the database password to a blank password.
NOTE: To set or reset the database password, you must have the database open exclusively.
REFERENCESFor additional information about other new features of Microsoft Jet 4.0, click the article number below
to view the article in the Microsoft Knowledge Base:
275561 New Features in Microsoft Jet 4.0
For more information about data-definition queries, click Microsoft Access Help on the
Help menu, type what is an sql query and when would you used one? in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB304915 |
---|
|