Reputation: 335
I'm in a bit over my head on this one. I work for a tax firm as a web developer. They have an old access database with all their info in it, and it's stuck on one rather old computer that's failing. I've made a php database with a web interface to replace it, but he's having trouble getting his workers to switch over to it.
So he's assigned me to find a way to move the database to a new computer.
I've never used access before, and despite my protests to my employer that it'd be easier just to hire someone online to do this for twenty bucks, the task falls to me.
I tell this story so that you'll forgive my lack of knowledge of the technical terms surrounding access.
What are the steps involved to move a database to another computer and let it know the new location of it's own data (as well as let the remote client copies know where the data is located as well).
Upvotes: 1
Views: 19735
Reputation: 48989
The basic process is to move the database to a new shared folder. However, “often” for any multi-user Access application then the application is split into two parts.
The so called Front End (FE), and this is placed on each computer. This is the user interface part and continues the application code and forms/reports.
The so called Back End (BE), and this is placed in/on a shared folder on the server. This has ONLY the data tables - no code or forms (no UI parts).
Access has a built in splitter that will split a typical application into these two parts.
The FE and BE are regular mdb or since 2007 accDB files. If the location (UNC path name) of the back end is changed, then the FE needs to be re-linked to the new BE location. This is accomplished by using the linked table manager. As noted, if the application is NOT split, then simply moving the current application to a new shared folder will suffice and no code or change to the application need to occur.
So your first step is to determine if the database is split. It is strongly recommended that any Access application that is running as “file share” be split.
As a future longer term approach, you could move the back end data tables to MySQL or SQL server and CONTINUE to use the existing FE (the application part).
Upvotes: 2
Reputation: 21047
As far as I know, Access databases are stored in a single file (with extension .accdb
), so you could only move that file to a new location.
However, you must make some precautions:
Other than that, you must take the usual precautions: Backup everything relevant, check if the database works correctly in the new location, etcetera.
Personally, I recommend you migrate to a more robust platform (like MySQL or PostgreSQL) and migrate your data there
Upvotes: 0