Open Database Question

B

Brian

I would like to use code to do the following:

From an open Access 97 database, use code to open a
password-protected second database in run-time mode, and
then close the first Access 97 database. I need to end up
with the first database closed and the second database
open and in focus. Is there code that will do this?

I know how to use code in a shell function to open the
second database in run-time mode. I also know how to do
code with OpenDatabase that opens the second password-
protected database with code, but not in run-time mode.

I need to do them both, but can't get anything to work.
Thanks for any help.
 

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