Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Selct from Multiple Access mdb's

Selct from Multiple Access mdb's

Scheduled Pinned Locked Moved Visual Basic
databasequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marc Hennebery
    wrote on last edited by
    #1

    I'm relatively new to VB programming and I have written an Access 2000 application and am currently copying the Access mdb's for each different database. My users have as many as 3 or 4 databases each. This is a nightmare if I have to make a code, form, or data structure change. What would you suggest as an alternative? I am trying to create a VB application that would allow them to select what Access database they want to work with and process from there. Sort of like selecting the database to open from a Common Dialog. Any suggestions for a quick and efficient method would be appreciated.

    D 1 Reply Last reply
    0
    • M Marc Hennebery

      I'm relatively new to VB programming and I have written an Access 2000 application and am currently copying the Access mdb's for each different database. My users have as many as 3 or 4 databases each. This is a nightmare if I have to make a code, form, or data structure change. What would you suggest as an alternative? I am trying to create a VB application that would allow them to select what Access database they want to work with and process from there. Sort of like selecting the database to open from a Common Dialog. Any suggestions for a quick and efficient method would be appreciated.

      D Offline
      D Offline
      Danny Blanchard
      wrote on last edited by
      #2

      Well, if you're using ADO.NET, then all you have to do is change the connection string in your OleDBConnection object. Just let the user select whichever one they want, modify your connection string, and assumining that your databases are all the same that should be all you need to do. Hope that helps! Daniel E. Blanchard

      M 1 Reply Last reply
      0
      • D Danny Blanchard

        Well, if you're using ADO.NET, then all you have to do is change the connection string in your OleDBConnection object. Just let the user select whichever one they want, modify your connection string, and assumining that your databases are all the same that should be all you need to do. Hope that helps! Daniel E. Blanchard

        M Offline
        M Offline
        Marc Hennebery
        wrote on last edited by
        #3

        Each user is on a standalone laptop or desktop. All databases are identical in structure. No .NET. I change the ODBC DSN when they run reports that I have created in Crystal Reports. Other than that they open the .mdb they want to update and then run the reports. No networking or servers are involved.:-D

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups