473,624 Members | 2,478 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 7048
NeoPa
32,566 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,566 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.Md b, 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 overcomplicatin g things here!
May 25 '10 #4
NeoPa
32,566 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,566 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
9891
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 a shared folder on the file server. They have two populations of users - local and remote. *ALL* users currently get to the system via a Citrix login. They log in to Citrix and get a Citrix desktop. Then they start the application via a...
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 back end. Any ideas? Thanks
2
1517
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 that it cannot find the back-end database. How do I tell the the "front-end" database where to locate the "bank-end" DB that contains the actual tables on a computer other than the one on which it was developed?
11
2834
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 SQL statements which populate individual text boxes on the form - could that be why? Thanks - David
4
2681
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 catch. All works well for the newAdmin user, but not so for the newUser. In the AutoExec macro I have a call on some VBA to reconnect the frontend and backend databases. It does not reconnect for the newUser. My conclusion is that the security...
2
1446
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 gives? Thank You.
0
4393
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 rolled forward to a point in time that is emcompassed in the local copy of the database log. (Microsoft SQL Server, Error: 1412)" Both SQL Server services are running under account
3
2468
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 many images stored as c:\mydatabse\images \images.jpg so computer A has no problem accessing the picture
5
34038
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. My company has two identical web sites. One copy is for our customer, and one copy is for us to test our code changes on. We developed a hard to isolate bug in the copy of the web stie for our
3
2949
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 computer. I programmed and maintain the database. We have about 140 users with about a maximum of about 20 concurrent users. I use user level security to determine which of the three groups a user belongs to, and then VB Script and macros show the...
0
8233
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6108
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
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 we have to send another system

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.