Code to open another database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a another database that is on our server and I would like to open it
from
our switchboard. I would like this to be accessed from a button on the
switchboard.

I can figure out how to open another instance of Access but dont know the
rest of the code to open another database that I built on our server. Any
help is appreciated.

this is our path to the database:
\\psmrdcfs01\sty\Workarea\SuretyLink\FormFlow\Development\Frontend

Thank you
 
Just use

ApplicationFollowHyperlink "your path + file goes here"

You can use the above to open a excel file, pdf file...or in your
case...anther mdb....

The above is really the same as if you clicked on the file...
 
Is there another way, other than Followhyperlink?

I have tried this but it opens the other database poorly, so that the first
form is not centered, making the whole thing look untidy.
 
Back
Top