Database Password-Protect

F

fred

Testing "MS Knowledge Base Article - 235422 - Open
a Password-Protected Database...", I was able to open
a "protected.mdb" with a " "second.mdb" as illustrated
in the article. My problem is, as soon as the
"protected.mdb" is opened by the "second.mdb", I
immediately close the "second.mdb". When I do this, I
get the "...There was a problem sending the command to
the program" error message for the "second.mdb". Is
there a way to avoid this error message? I want to
make the "second.mdb" 'transparent' to the user.

Below is the code for the start form for the "second.mdb":

Private Sub Form_Load()
OpenPasswordProtectedDB ' 235422 subroutine in module
DoCmd.Quit
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top