Open another Access database by clicking on a label in an open dat

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

Guest

Using Access XP

I want to place a label on a switchboard and when a user clicks it, another
database opens.

Let's say the label's name is lblOpenCheckbook and the file I want to open
is located at D:\Finances\Checkbook.mdb.

What code would I need to open the database?

What about code to open a Word document and/or Excel spreadsheet?

Thanks alot,

Seth
 
Have you played around with the database cammands?
Eg/
OpenDatabase,dim name as database, etc

Although you will need the "DAO 6.0" checked in your 'References' section.

Andy
 
Back
Top