Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    opening a database in code (2003)

    I am trying to manipulate the data in another database in code. To Connect to it I tried setting a workspace then using
    Set db2 = ws1.Databases(strDatabasePath)
    but that didn't work. what is the best way to do this.

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

    Re: opening a database in code (2003)

    Try

    Set db2 = ws1.OpenDatabase(strDatabasePath)

  3. #3
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: opening a database in code (2003)

    Thanks Hans. That did it.

Posting Permissions

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