PDA

Click to See Complete Forum and Search --> : Opening password protected Access database


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.

smalig
Oct 28th, 1999, 08:56 PM
Look sample at http://smalig.tripod.com/vb/079913.html

------------------
smalig
smalig@hotmail.com
smalig.tripod.com (http://smalig.tripod.com)