Solved

File Maker Pro 12 merging databases

Posted on 2013-01-15
2
940 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ABOUT FIREFOX BROWSER 6 39
Apple devices syncing internet history etc 1 70
icloud backup 5 30
freeware iOS backup tools other than iTunes 5 25
Yesterday Apple introduced their revolutionary new iOS 5 operating system that claims to be the ultimate mobile technology interface. One of the biggest innovations of the new operating system is the introduction of the iCloud computing network. Thi…
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 …
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 …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

821 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