Improve company productivity with a Business Account.Sign Up

x
?
Solved

Databases reconciliation - Urgent !!!

Posted on 1999-01-19
2
Medium Priority
?
212 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
2 Comments
 
LVL 10

Accepted Solution

by:
brewdog earned 300 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

602 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