Results 1 to 2 of 2

Thread: Opening password protected Access database

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 1999
    Posts
    1

    Post

    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.

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width