Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:55:15+00:00 2026-06-02T10:55:15+00:00

I want to move my Microsoft Access Database front end into source control for

  • 0

I want to move my Microsoft Access Database front end into source control for easy saving and deployment as well as have some control over changes. I am using code from this question to export queries, forms, macros, reports, however not tables.

There must be a way through vbscripts that I could export the link table build process as well as put it back in.

Does anybody know of anything that could easily let me export my linked tables.

(It would be easier for me to change my linked tables to link to a development server if I could build out the table linking to a text files and manipulate the connection strings from there.)

How do you use version control with Access development?

Or the question could also be, how do I painlessly change my link table connection source without messing with my computer’s odbc dns connections?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:55:18+00:00Added an answer on June 2, 2026 at 10:55 am

    You didn’t specify if you are using .mdb or .accdb files.
    I never used .accdb, so I can only tell you about .mdb:

    Every .mdb file has a hidden table named MSysObjects.
    It contains all objects including forms and reports and stuff, but you can filter on the Type column to get only the tables:

    • Type = 1 –> local tables
    • Type = 4 –> ODBC linked tabled
    • Type = 6 –> linked tables from other Access databases

    There are four columns in MSysObjects which contain everything you need:

    • Connect –> ODBC connection string (if connected via ODBC)
    • Database –> path to source Access database (if linked to another Access database)
      (you probably don’t need this because you say you’re using ODBC – I included it anyway for the sake of completeness)
    • Foreign name –> original name of the table in the source database
    • Name –> name of the linked table in this database

    That’s all the information you need to re-link the tables.
    You don’t need to mess around with the computer’s ODBC DSNs for this…in fact, you don’t need DSNs on the computer at all.

    Here is a quick example how to do this:
    VBA Code to Add Linked Table with Primary Key

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have worked with Microsoft Access as the back-end of my applications in the
I have a draggable which on the stop event, I want move to a
I want to move various parts of my app into simple scripts, to allow
Say I have this UserControl and want to move the attributes to a style
We have an ages old Java applet that we want to move forward to
I want to move full text catalogue for 1 database to a different location
I have created a nice silverlight control doing exactly what I want it to
I have a Control inside a Canvas and I want to be able to
I want to move about 800gb of data from an NTFS storage device to
I want to move the form title, icon and close, and help buttons from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.