473,499 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to make a copy of a split database?

109 New Member
There is probably an easy solution to this but I'm paranoid about making any changes to the database in case I do something that can't be reverted back.

Basically, I have a split database - backend is on the shared drive and the frontend has been distributed on each users computer.

Someone has requested me to send them the database. Now, in the interest of confidentiality, I need to send him a blank version. Is this a simple case of copying both frontend and backend? I'm a bit apprehensive to delete all the data from the backend and then accidentally realise I've ballsed it up.
May 25 '10 #1
8 7036
NeoPa
32,557 Recognized Expert Moderator MVP
What about deleting the data after you've made the copy. That way you don't have any such worry.
May 25 '10 #2
NeoPa
32,557 Recognized Expert Moderator MVP
The problem that is more likely is that the destination environment may not match the source one exactly, and that could cause the databases to be unusable. If possible, ensure the receiver of your databases knows where the original BE is stored.

EG. If you link to it and it is at G:\MyDatabases\DatabaseName.Mdb, then let them know that as they will most likely need to duplicate that on their systems otherwise the links will fail.

Alternatively, you could put some code in your FE that manages the links for you. Link Tables in VB may help with that.
May 25 '10 #3
hedges98
109 New Member
@NeoPa
Is it that simple?

I just need to send him a copy as he wants to look over the structure of it and stuff but there is obviously confidentiality issues with sending it as it is (not to mention the file size being too big to email with all the data!)

If I just copy the backend and a version of the front end - how will the front end not be attached to the original backend? Like, how do you link the copied backend to a frontend (or vice versa)? I'm probably overcomplicating things here!
May 25 '10 #4
NeoPa
32,557 Recognized Expert Moderator MVP
When you make the link to the BE table, Access stores this same value in the database associated with the link.

If you use UNC versions then these will be stored. If you use drive letters instead, then these will be. This means that the user has to set their system up to match, or they can relink the tables if they're savvy enough.

If you're thinking of sending a copy via email then the following instructions may be of some use to you (although compiled for another purpose) :
When attaching your work please follow the following steps first :
  1. Remove anything not relevant to the problem. This is not necessary in all circumstances but some databases can be very bulky and some things do not effect the actual problem at all.
  2. Likewise, not entirely necessary in all cases, but consider saving your database in a version not later than 2003 as many of our experts don't use Access 2007. Largely they don't want to, but some also don't have access to it. Personally I will wait until I'm forced to before using it.
  3. If the process depends on any linked tables then make local copies in your database to replace the linked tables.
  4. If you've done anything in steps 1 to 3 then make sure that the problem you're experiencing is still evident in the updated version.
  5. Compile the database (From the Visual Basic Editor select Debug / Compile {Project Name}).
  6. Compact the database (Tools / Database Utilities / Compact and Repair Database...).
  7. Compress the database into a ZIP file.
  8. When posting, scroll down the page and select Manage Attachments (Pressing on that leads you to a page where you can add or remove your attachments. It also lists the maximum file sizes for each of the allowed file types.) and add this new ZIP file.
It's also a good idea to include some instructions that enable us to find the issue you'd like help with. Maybe some instructions of what to select, click on, enter etc that ensures we'll see what you see and have the same problems.
May 25 '10 #5
missinglinq
3,532 Recognized Expert Specialist
As to the comfidentiality issue, to "copy" the back end
  1. Create a new, blank database file
  2. Goto File
  3. Click on Get External Data
  4. Click on Import
  5. Select the back end file
  6. Click on Options
  7. Under Import Tables click on Definition Only
  8. Click Okay
Making sure that the new file is not in the same folder/location as the original backend, rename it the same as the back end.

Linq ;0)>
May 25 '10 #6
hedges98
109 New Member
@missinglinq
Thanks for the suggestions guys, all I did was copy both the frontend and backend then relink the copy of the frontend to the copy of the backend.

Once I'd done that (and tested that I wasn't going to mess with the original!) I just manually deleted the data from all the tables! Bit of a backwards solution but I think it worked all the same.
May 25 '10 #7
NeoPa
32,557 Recognized Expert Moderator MVP
That should certainly work, but some databases can contain literally hundreds of tables. In such a case having a separate step to clear down the data for each can be somewhat cumbersome. Linq's solution reduces the overhead so is well worth having as a suggestion even if you didn't see it in time on this occasion.
May 25 '10 #8
hedges98
109 New Member
@NeoPa
Yeah, luckily this database is relatively small so it only took a few minutes to remove the data manually. I will keep these suggestions in mind should I need to do something similar in future though. Thank you!
May 26 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

12
9870
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on...
1
354
by: bborden51 | last post by:
I'm surprised that when I go to File-->Backup Database within Access only the front end is backed up. Surely I'm missing some setting that I have to select so Access backs up both front end and...
2
1504
by: raydelex | last post by:
I have a split database (Access 2003). Now I need to port the database to the end-users' computer for a demonstration. When I try to start up the database on the other computer, it tells me...
11
2814
by: Daveo | last post by:
Hi there, Since splitting my database, one form in particular takes about 10 times as long to load and refresh, compared to the unsplit version on the server. The code behind it contains 36...
4
2672
by: carriolan | last post by:
Hi I have managed to secure a split database. Both frontend and backend share a common workgroup, common security groups and common users and permissions, but as in all good stories there is a...
2
1443
by: AAOO (Sean) | last post by:
When I try to access the back end of a split database, I get the error message, that it's not trusted by access, and that I should move it to my computer, or an accessible network location? What...
0
4384
by: serge | last post by:
I have 2 SQL Enterprise Editions running SP2 and same collation. When i try to start database mirroring I get the following error message: "The remote copy of database "ABC" has not been...
3
2445
by: najimou | last post by:
Hi everyone I will be having a split database, running on 2 computers via mapped drive. computer "A" will have one front end and the back end located in c: \mydatabse 2 tables have links to...
5
34027
by: Steve | last post by:
Hi; I thought I would rephrase a question I asked in another post to more quickly get to the heart of the matter. My apologies for anyone who is offended by what appears to be a repetition. ...
3
2939
by: theProfessor | last post by:
We are using a shared split database with all users currently using Access 2003. The back end is on a shared drive of a state wide WAN. Each user has a copy of the front end on their local...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7006
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4597
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.