Introduction
There are numerous techniques for doing this. Before trying any of them though, make sure you have a current backup of your GEDCOM file – even if you plan to delete records in a copy of your Project. You might get confused and accidentally delete records from the wrong Project.
Deleting One or a Few Records
To delete just a few records of any type, then on the appropriate tab of the Records WindowThe Records Window provides a comprehensive view of all the information stored within a Family Historian project., select them one at a time, and hit the DEL key, or use Edit > Delete.
To delete just a few Individual recordsEvery person in your tree will have a single Individual Record, which holds all the information about that individual that you have entered. You can view and edit Individual records in the Property Box Dialogue.:
- in the Focus WindowThe Focus Window is the primary workspace window. It displays information about a chosen person, called the ‘Focus Person’. bring them into focus one at a time
- right-click on their box
- choose Delete Record.
Points to Note
- When Individual Records are deleted, any redundant Family RecordsFamily records store information about families, and links to all the Individual Records for those individuals who make up a family. You can view and edit Family records in the Property Box Dialogue. are automatically deleted, but other unused record types with zero Links or zero CitationsA link between a source and a fact, documenting Where within the source you find information being “cited” to support the fact/conclusion. will remain.
- Warning: Deleting records is risky where the Links or Citations or SourcesSource: “where information was found”. This could be anything from an archive in a county records office, a book, or even a relative’s recorded recollection. Citing your Sources helps to show how you reached a particular conclusion about an Individual. column value is greater than 0, so first try Finding Where Records are Used to determine the impact of deletion, and consider using Edit > Merge/Compare Records to merge duplicated records, as described at Merge/Compare Records.
- Deleting MediaWhen you add a picture, video, sound recording, document file etc into a Family Historian project, a Media record is created to represent that media item within the project; the Media record includes a link to the actual Media file. Records does NOT delete any linked image files, so consider using the Check for Unlinked Media PluginPlugins are small programs that allow new features to be added without upgrading Family Historian itself; some plugins are written by Calico Pie and others are written by users..
These points apply whether your are deleting one or many records.
Deleting Many Records
Records Window
You can delete multiple records from the Records Window via a Named List.
- Copy all the records you want to delete to a Named List (create a new one if necessary).
- When you have put together a list of the exact individual or other records you want to delete, select that List and use Lists > Delete Named List Records. This will delete all records in that list.
To select records with similar characteristics, try sorting on one of the columns. For example to find unused records with no links, click the Links or Citations or Sources column heading to sort into numerical order by number of links and all the zero entries will be last. To get them first, press-&-hold ALT key while clicking column heading to perform a reverse sort.
Remember that the Records Window supports multiple selection using the usual techniques (i.e. press-and-hold CTL key while clicking records, or press-and-hold SHIFT key while clicking first and last of a range). Press F4 (or click Add to Current List button to add records selected in the Records Window to the Named List selected in the Named Lists pane.
Use this technique with care obviously! If you regularly want to be able to delete multiple records, you might consider creating a list called ‘Delete Pending’ that is used solely for this purpose.
Split Tree Helper
- The Split Tree Helper feature, accessible from the File menu, is specifically designed for deleting large numbers of records from a file.
- Have a look at that article and the associated help (Split Tree Helper: Delete Unwanted Data.
- You can use QueriesQuerying is a very powerful feature that allows you to specify and save criteria for identifying a set of records of a given record type. to select the Individual records to delete or Named ListsNamed Lists are a way in FH to group related items — which can be records of any type(s) — so that you can easily find them to work with. (because a Query can return all Named List Members).
- Even if not deleting any Individual records it offers a convenient way of deleting other record types with no links to them, with the unfortunate exception of Place recordsAccording to GEDCOM, a Place should hold “The jurisdictional name of the place where the event took place…” .
Diagrams
- You can select boxes (even all boxes) in a chart and delete all the Individual records that they represent.
- If you don’t want spouses to be deleted, select the hide spouse option.
- If you don’t want other relatives to be deleted, select a chart which doesn’t show them, or hide them yourself (or don’t select them).
- To select multiple boxes click-and-drag on the background of the box to draw a stretchy box to ‘lasso’ them with. Alternatively, press-and-hold the CTL key while clicking on a box to add or remove it from a selection. Then press the DEL key to delete and take the option to Delete data records for selected boxes.
Queries
- Once you have mastered Queries (especially in combination with Named Lists) all power is in your hands.
- You can use Queries to select from, or add to, Named Lists and then use the Lists > Delete Named List Records command.
- Or you can delete directly from the Query Result Set window. Simply select the cells that represent records (the ones that have an icon on the left side) that you wish to delete and click on the DEL key.