Results 1 to 2 of 2

Thread: open mdb (2k)

  1. #1
    2 Star Lounger
    Join Date
    Nov 2002
    Posts
    160
    Thanks
    0
    Thanked 0 Times in 0 Posts

    open mdb (2k)

    i have db1.mdb & db2.mdb
    i want do a buttom in db1 to open the db2
    thanks
    ashraf

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: open mdb (2k)

    To open db2 in the window that db1 is in, you can use <font face="Georgia">OpenCurrentDatabase "Catabasesdb2.mdb"</font face=georgia> (substitute the actual path and file name). Be aware, though, that db1 will be closed, and code running in db1 will terminate immediately.

    If you just want to get information from db2, you can create links in db1 to tables residing in db2.
    It is also possible to access db2 from db1 using the DAO OpenDatabase method.

Posting Permissions

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