Advertisement

02.15.2008 at 12:52PM PST, ID: 23167278
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Merging two databases, updating existing records to point to new primary keys etc.

Asked by Zenith63 in Microsoft Access Database, Databases Miscellaneous, SQL Server 2005

Tags: , ,

Hi,

A few years back I created an Access database for our stock ordering system.  One of the tables was a table of customers called tblCustomers with columns such as id (autonumber & primary key), name, address1, address2....  Two tables had many-to-one relationships with this table: one contains every item ordered and a field like customerID which allows us see which customer the item was ordered for the other table contains sales orders/delivery dockets which again have a reference to the customerID showing who the delivery went to.  There are 400 customers records, 3000 sales orders/delivery dockets and 11000 ordered item records at this stage.

I later created another database for something else which also has a tblCustomers table containing customer info but the address and contact info are kept in additional many-to-one linked tables (like tblCustomerSites and tblCustomerContacts).  The customer records in these tables are properly filled out and in a good format for us.  There are about 150 contacts customer contacts in here.  I've now moved these tables into a shared MDB on the server so other databases can use and update them.  The stock ordering system is the only database now acting off its own list of customers and it's now causing us problems as there is info in the new customer tables (eg. who their contract manager is, if they're still active etc etc.).

So what I now have to do is get the stock database working off the same customer contacts table but I'd like to here from experts here who may have done something similar is there an easy way to do this?  There are a few problems I can see:
1. Customer "Acme Ltd." in my stock ordering system has an id of 132 but has an id of 67 in my new shared customer contacts database.
2. Customer names have been entered by users over time so they definitely don't match one for one; we could have "Acme Ltd." in one database but "Acme Limited" in the other.
3. The stock ordering system is a good bit older then the new database, so there are customers in there that don't exist in the new database at all but need to so historical data is maintained.

Does anybody have any good suggestions?  If at all possible I'd like to update the froeign key records in the sales order/deliveries and ordered items table in the old database rather then adding extra id columns to the new database with something like "oldIDReference".  Obviously there will be quite a bit manual effort involved in this which is fine, but I'd hate to find a button in Access in a months time that would change this from a 5 day job to a 3 hour job.


Any and all help appreciated!Start Free Trial
[+][-]02.15.2008 at 01:05PM PST, ID: 20905892

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Databases Miscellaneous, SQL Server 2005
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: JefKve
Participating Experts: 3
Solution Grade: A
 
 
[+][-]02.15.2008 at 02:02PM PST, ID: 20906447

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.16.2008 at 04:27AM PST, ID: 20909340

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.16.2008 at 04:29AM PST, ID: 20909345

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 07:28AM PDT, ID: 21865984

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.29.2008 at 06:57AM PDT, ID: 21894047

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628