Solved

Databases reconciliation - Urgent !!!

Posted on 1999-01-19
2
200 Views
Last Modified: 2012-06-27
At the start of a project I had one master database which holded central information. I provided copies of that database to different people, *for info only*. Of course they used it and built on it, adding information (no new tables/relationships... just new data in existing tables).
Murphy came around (read management) and decided that the new information in the different database is extremely valuable and should be compiled.
Problem then : I now need to combine those databases into one. Trouble is, most of the tables have fields which are unique(autonumber, sequential). And the data which I need to  combine is spread over several tables (relationships exist), each with unique numberings. But those unique number per database, I will of course find them more than once when I try to combine the different databases.
Any suggestion on how to solve that problem ?
Thanks
0
Comment
Question by:lilletof
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
brewdog earned 100 total points
ID: 1977200
I had to do this with one of my databases. Here's what I did:

1. Remove the relationships on your tables temporarily
2. Change the AutoNumber fields to Number, and add a field to identify each separate database. Your primary key for these tables will then be a combination of the Number and the database source.
3. Reestablish your relationships.
4. Import the data into temp tables, then use append queries to put the temp tables (plus a string for identifying the source) into your master tables.

It's a bit of a process, but it has worked well for me.

brewdog
0
 
LVL 7

Expert Comment

by:Dedushka
ID: 1977201
Hi, lilletof!
To avoid this problems in future you shoul use replication.
What can you do now - "that is the question".

Regards,
Dedushka

0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question