MacFamilyTree 10.4

23 Database maintenance

As the number of persons in your tree continues to grow over time, there will be an increasing chance of incorrect details or matches ending up in your database. The database maintenance feature helps you track down and correct these errors in a number of different ways. It can also be used to manage, edit and add event types, fact types, name types and source templates. The database maintenance feature can be accessed via the "Edit" menu.

23.1 Searching and replacing information in the database

The "Search and replace" feature can be used to replace specific details across multiple entries.

To access it, open the database maintenance menu and select "Search & Replace":

This will open a window where you’ll need to enter your search paramaters:

You can search for persons, events, facts, places, notes and sources as well as source values, person groups, media, and tasks. Select the type of information you want to search and replace, then enter your search term.

Important

By default, all results are selected automatically.
To undo this, click "Deselect All".

Next, select the entries you want to replace:

In the field at the bottom, enter the replacement term and click "Apply" to confirm.

Important

Please note that the entry with the modified term will disappear from the list of results as it no longer matches the current search.

23.2 Managing custom event and fact types

Here, you can manage all of your custom events and facts. You can then add them to person or family entries. The process is identical for person, fact and family events.

23.2.1 Adding and managing event types

Click ① "Add Type" to create a new person event and enter the name of the event under ② - then, under ③ "GEDCOM Tag", enter the name by which the field is to be exported as an individual event during GEDCOM export. However, please be aware that not all genealogy applications will be able to interpret user-defined events!

Use ④ "Add Icon" to add a custom icon to your event, or remove an existing icon by clicking on ⑤ "Remove Icon".

⑥ "Delete Type" will remove the selected event. ⑦ "Reset standard types" will restore the initial default settings for event types.

23.3 Managing additional name types

MacFamilyTree allows you to enter additional names for persons besides their first and last names, for example a stage name, a nickname, or a religious name, such as those taken by nuns and monks.

To manage additional name types, click "Edit Additional Name Types" in the database maintenance pane:

Click ① "Add Type" to add a new name type and enter the name of the new name type under ② – then, under ③ "GEDCOM-Tag", enter the name by which the field is to be exported as an individual event during GEDCOM export. However, please be aware that not all genealogy applications will be able to interpret user-defined events!

Use ④ "Add Icon" to add a custom icon to your event, or remove an existing icon by clicking ⑤ "Remove Icon".

⑥ "Remove Type" will remove the selected name type. ⑦ "Reset standard types" will restore the initial default settings for name types.

23.4 Managing source templates

MacFamily provides you with a variety of source templates for all common source types, such as deeds, family registers, or wills. This allows you to capture and store specific information for many different documents. You can adjust the standard source templates to your own preferences, or you can also add your own new custom templates.

23.4.1 Editing source templates

In the database maintenance pane, go to "Edit Source Templates":

Select ① the source template you want to edit from the lefthand sidebar.

Click ② "Template Name" to edit the name of the source template.

Click ③ "Add Field" to add more fields to the template.

Click ④ "Remove Field" to remove an existing field from the template.

Tick the ⑤ "Favorite Template" checkbox to include the source template in the list of templates which are prioritized when entering sources.

The ⑥ "Manage available Fields" button allows you to edit the fields that can be used in source templates:

Here, you can modify, add, delete, or merge template fields.

⑦ To create or edit a custom source template, click on "Add template".

Use the "Short Citation" and "Long Citation" tabs to define how the source template will be displayed in reports:

Click "Done" to finish the editing process and exit the management pane for source templates.

23.5 Merging a Family Tree with the Current Tree

To merge two trees, first open the tree you want to add your subtree to. Under "Edit" → "Maintenance", select the option "Merge with existing tree":

In the next screen, select the format of the tree you want to merge with the current tree.

You can now select, for example, "Merge with existing tree". MacFamilyTree will then list all existing databases that can be merged with the current family tree.

Select the desired family tree and click "OK". MacFamilyTree will now merge the two trees and list the statistics for the process once it’s completed.

23.6 Exporting a subtree

If you want to split your tree, for example to export all ancestors of a given person from the tree, proceed as follows:

Select the "Export subtree" option from the database maintenance pane to open the corresponding selection window.

Select the person whose family members you want to export:

Clicking on "Add ancestors of person", for example, will take you to the next step. Here you can specify the persons you want to export. Click on the question mark icon on the right to explain which persons each of the available options will export.

The right column will then list all persons who will be included in the export. It is advisable to double-check the selection by clicking on one of the persons, followed by a click on the "Show Person Context" button.

"Export Subtree" will start the export process. Once it is completed, your subtree will be available as a separate tree in the application’s home screen.

23.7 Removing a subtree

To delete a part of your tree, for example to delete all of a person’s ancestors, proceed as follows:

Select the "Maintenance" tab from the "Edit" menu and click on the "Remove Subtree" button. This will open the appropriate selection screen:

Then select the person whose family members you want to remove:

Clicking on "Add ancestors of person", for example, will take you to the next step. Here you can specify the persons you want to remove. Click on the question mark icon on the right to explain which persons each of the available options will remove.

The right column will then list all persons who will be removed. It is advisable to double-check the selection by clicking on one of the persons, followed by a click on the "Show Person Context" button.

"Remove Subtree" will start the deletion process.

23.8 Searching for unreadable date entries

Please only use date formats listed in the MacFamilyTree date preferences, or MacFamilyTree will not be able to read the date. Searching for date entries in the "Database maintenance" section will return non-compliant date entries, allowing you to correct them accordingly.

To search for unreadable date entries, click on "Find unreadable dates":

If the database contains unreadable date entries, they will be displayed in a list format:

To edit items in the list of non-interpretable date entries, click on the relevant entry and enter the date in a valid format.

23.9 Adjusting date formats

You can adapt all readable date formats to a particular format by harmonizing them in the database maintenance menu.

To do this, click "Adjust Date Format":

Select a date format:

Next, click on "Adjust Date Format" to convert all date entries to the selected format.

23.10 Reformatting names

You can adapt all names in your database to a specific name format by harmonizing them in the database maintenance menu.

To do this, click on "Reformat Names":

Select a format for the listed name components:

Click on "Reformat Names…" to confirm the process. Changes will be applied to all database entries containing the selected name component.

23.11 Removing empty entries

Users may sometimes accidentally create empty entries, which they may want to delete again as they contain no information.

To do this, open "Remove Empty Entries":

MacFamilyTree will then list all empty entries:

Select the item you want to remove and click "Remove selected entries", or click "Remove all empty entries" to remove all listed items. Click on "Show selected entry" to access the detail view of the relevant entry.

23.12 Searching for mismatched partners in families

Searching for mismatched partners will list all entries where the gender has been assigned incorrectly, e.g. where the father was entered as female and the mother as male.

To start the search, click on "Search for Mismatched Partners…":

The search results will be summarized in a dialog:

Click on "Repair family member mismatch" to repair mismatched entries.

23.13 Searching for duplicate entries

In some cases, duplicates may be caused by, for example, a GEDCOM import, a FamilySearch download or a new entry for a person already contained in your database. Searching for duplicate entries in the database helps you identify and merge these entries. It is possible to search not only for duplicate persons, but also for duplicate families, sources, and places.

Open the duplicate search by clicking on "Find Duplicates…":

Select whether you want to search for duplicate persons, families, sources, or places:

In the next screen, you can review the search results and merge duplicates:

① The "Potentially duplicate persons" list on the left of the screen shows all persons in your database for whom a potential duplicate has been found, including ② more detailed information about the currently selected person.

③ The list on the right shows all potential duplicates for the selected person. The ④ "Similarity" indicator shows the degree of similarity between the two selected entries.

⑤ Shows the context and details for the persons in question.

Click on ⑥ ""Merge" to merge the person under ① with the person under ③ This will open a menu where you can specify which person the information will be assigned to.

⑦ Here you can select another person to be merged.

Clicking on "Merge" will generate an overview of the duplicate data, showing any existing deviations and prompting you which information you want to keep:

The column between the "First entry" and "Second entry" columns shows different symbols.

① Indicates that one entry contains deviations. Click on the arrow to accept the entry.

② Indicates that both entries are identical.

③ Indicates that a certain piece of information is only available in one entry.

④ Choose whether you want to accept the first or ⑤ second entry in full.

⑥ and ⑦ display the context of the entry.

23.14 Optimizing media

Images that require a lot of disk space are compressed to reduce the overall size of your database. Especially when using iCloud, this can increase speed rates significantly.

Click on "Optimize Media" to start the process.

Once the process is completed, a message stating how many images have been optimized will be displayed.