{"id":10796,"date":"2020-07-12T17:28:06","date_gmt":"2020-07-12T17:28:06","guid":{"rendered":"https:\/\/fhug.org.uk\/kb\/?post_type=kb_article&#038;p=10796"},"modified":"2024-02-22T11:13:24","modified_gmt":"2024-02-22T11:13:24","slug":"delete-one-or-many-records","status":"publish","type":"kb_article","link":"https:\/\/www.fhug.org.uk\/kb\/kb-article\/delete-one-or-many-records\/","title":{"rendered":"Delete One or Many Records"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>There are numerous techniques for doing this. Before trying any of them though, make sure you have a current backup of your GEDCOM file &#8211; 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.<\/p>\n<h2>Deleting One or a Few Records<\/h2>\n<p>To delete just a few records of any type, then on the appropriate tab of the <em>Records Window<\/em>, select them one at a time, and hit the DEL key, or use <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Edit&nbsp&gt;&nbspDelete<\/a>.<\/p>\n<p>To delete just a few Individual records:<\/p>\n<ol>\n<li>in the <em>Focus Window<\/em> bring them into focus one at a time<\/li>\n<li>right-click on their box<\/li>\n<li>choose <em>Delete Record<\/em>.<\/li>\n<\/ol>\n<h2>Points to Note<\/h2>\n<ul>\n<li>When Individual Records are deleted, any redundant Family Records are automatically deleted, but other unused record types with zero Links or zero Citations will remain.<\/li>\n<li><strong>Warning<\/strong>: Deleting records is risky where the Links or Citations or Sources column value is greater than 0, so first try <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/finding-where-records-are-used\/\">Finding Where Records are Used<\/a> to determine the impact of deletion, and consider using <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Edit&nbsp&gt;&nbspMerge\/Compare&nbspRecords<\/a> to merge duplicated records, as described at <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/merge-compare-records\/\">Merge\/Compare Records<\/a>.<\/li>\n<li>Deleting Media Records does NOT delete any linked image files, so consider using the <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/check-for-unlinked-media\">Check for Unlinked Media<\/a> Plugin.<\/li>\n<\/ul>\n<p>These points apply whether your are deleting one or many records.<\/p>\n<h2>Deleting Many Records<\/h2>\n<h3>Records Window<\/h3>\n<p>You can delete multiple records from the Records Window via a <em>Named List.<\/em><\/p>\n<ol>\n<li>Copy all the records you want to delete to a Named List (create a new one if necessary).<\/li>\n<li>When you have put together a list of the exact individual or other records you want to delete, select that List and use <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Lists&nbsp&gt;&nbspDelete&nbspNamed&nbspList&nbspRecords<\/a>. This will delete all records in that list.<\/li>\n<\/ol>\n<p>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-&amp;-hold ALT key while clicking column heading to perform a reverse sort.<\/p>\n<p>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 <img decoding=\"async\" class=\"cs_v alignnone lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/helpv6\/toolbar_recordswindow_3.png\" alt=\"\" width=\"34\" height=\"31\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 34px; --smush-placeholder-aspect-ratio: 34\/31;\" \/>\u00a0 to add records selected in the Records Window to the Named List selected in the Named Lists pane.<\/p>\n<p>Use this technique with care obviously! If you regularly want to be able to delete multiple records, you might consider creating a list called &#8216;Delete Pending&#8217; that is used solely for this purpose.<\/p>\n<h3>Split Tree Helper<\/h3>\n<ul>\n<li>The <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/split-tree-helper\/\">Split Tree Helper<\/a> feature, accessible from the File menu, is specifically designed for deleting large numbers of records from a file.<\/li>\n<li>Have a look at that article and the associated help (<a href=\"https:\/\/www.family-historian.co.uk\/help\/fh6\/hh_start.htm#splittreehelperdeleteunwanteddata.html\" target=\"_blank\" rel=\"noopener noreferrer\">Split Tree Helper: Delete Unwanted Data<\/a>.<\/li>\n<li>You can use Queries to select the Individual records to delete or Named Lists (because a Query can return all Named List Members).<\/li>\n<li>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 records.<\/li>\n<\/ul>\n<h3>Diagrams<\/h3>\n<ul>\n<li>You can select boxes (even all boxes) in a chart and delete all the Individual records that they represent.<\/li>\n<li>If you don&#8217;t want spouses to be deleted, select the hide spouse option.<\/li>\n<li>If you don&#8217;t want other relatives to be deleted, select a chart which doesn&#8217;t show them, or hide them yourself (or don&#8217;t select them).<\/li>\n<li>To select multiple boxes click-and-drag on the background of the box to draw a stretchy box to &#8216;lasso&#8217; 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 <em>Delete data records for selected boxe<\/em>s.<\/li>\n<\/ul>\n<h3>Queries<\/h3>\n<ul>\n<li>Once you have mastered Queries (especially in combination with Named Lists) all power is in your hands.<\/li>\n<li>You can use Queries to select from, or add to, Named Lists and then use the <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Lists&nbsp&gt;&nbspDelete&nbspNamed&nbspList&nbspRecords&nbsp<\/a>command.<\/li>\n<li>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.<\/li>\n<\/ul>\n","protected":false},"template":"","fh_version":[13,14,15,739],"skill_level":[18,17,16],"topic":[101],"class_list":["post-10796","kb_article","type-kb_article","status-publish","hentry","fh_version-v4","fh_version-v5","fh_version-v6","fh_version-v7","skill_level-advanced","skill_level-intermediate","skill_level-newcomer","topic-records-window"],"_links":{"self":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article\/10796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/types\/kb_article"}],"wp:attachment":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/media?parent=10796"}],"wp:term":[{"taxonomy":"fh_version","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/fh_version?post=10796"},{"taxonomy":"skill_level","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/skill_level?post=10796"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/topic?post=10796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}