Quick&Easy
Oct 28th, 1999, 02:25 AM
Hi -
I am currently using the following VBA code to open an Access database.
Dim dbNew As DAO.Database
Set dbNew = DBEngine(0).OpenDatabase(mstrPathToDB)
Set rsSetup = dbNew.OpenRecordset("Setup")
I want to password protect the database to prevent unauthorized direct access.
What code do I need to add to unlock the database? Do I need to create a Workspace?
Thanks.
I am currently using the following VBA code to open an Access database.
Dim dbNew As DAO.Database
Set dbNew = DBEngine(0).OpenDatabase(mstrPathToDB)
Set rsSetup = dbNew.OpenRecordset("Setup")
I want to password protect the database to prevent unauthorized direct access.
What code do I need to add to unlock the database? Do I need to create a Workspace?
Thanks.