Solved

File Maker Pro 12 merging databases

Posted on 2013-01-15
2
938 Views
Last Modified: 2013-01-16
Hi all,
I've copied a database with customer names in and delivery notes etc and given that to another part of the company. At some point we'd like bring databases together.

Is it possible to merge two databases together and what are the concerns over unique keys.

Any advice gratefully received.

Dave.
0
Comment
Question by:Irazor
2 Comments
 
LVL 25

Accepted Solution

by:
Will Loving earned 250 total points
ID: 38781248
The issue with unique keys is that if new entries are being made to both copies such that you have duplicate keys between the two data sets, then when you merge the files you'll have....duplicate keys. If you have related records based on those keys in other tables then you'll need to reconcile it, usually by doing a process of assigning new keys to one set of the records and propagating that new key to any related (child) records that use that key.

You can do this by creating a second temporary key field prior to the merge, entering the new key in that temp field, passing the new key to temp fields in any related records and then finally replacing the old key with the new key.

If you don't have related records then it's just a matter of assigning a new range of the key to one of the records sets, merging the record sets, and then setting the "Next Serial" in the Auto-Enter settings to be at least one higher than the highest in the merged records table.

You can also take one of the copies and set a new "Next Serial" that starts higher than you ever expect the other set to go in terms of new records. For example, when you split the file the highest key value is 6500. You then set the "Next Serial" in the other copy to be higher than you expect that value to go before you merge them back. So if you only expect a few hundred new records, set the "Next Serial" value to be 7500 or 8000 or 10000. There's no reason not to set a decent margin of error.

Finally, the better way to do this is to simply Host the files with FM Server or even FM Pro and show the other "part of the company" how to access it across the network. That way you're both creating records in the same file and you don't ever have to worry about merging or duplicate keys. If you need to you can put in fields that identify which part of the company created which records.
0
 

Author Closing Comment

by:Irazor
ID: 38781752
A full answer as far as I'm concerned as I new nothing of this issue. Thank you for taking the time to answer.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

808 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