This article appeared in the March/April 1999 issue of Everton's Genealogical Helper.
The Master Genealogist Tips
Splitting a Dataset the Hard Way Some users wonder if they can split off a specific group of persons into a new dataset. The answer, of course, is yes. Usually it is very easy. But sometimes, the group that is desired to split is sometimes a bit hard to define easily. That is what Id like to discuss this month. The normal easy method would be to define a List of Persons (LOP) report that uses a Focus filter defining the desired persons. Then the Secondary Output tab would be selected to choose the Create New Dataset option and that would be it. But there are times when your desired group is harder to define. For example, if you want the persons in the dataset for a particular line and their spouses, there could be three steps. First to find the descendants of the line desired, then find the ancestors of the one descendant for which the line is desired. Finally, to create the new dataset for those persons and their spouses. The filter for the first report might be: ID Number Equals [?] OR Is a Descendant of Person Number [?] END The Secondary Output tab would be selected and the Change Flag option chosen. I have an INTERIM1 Flag set up with a default of N(o) for this purpose and set the option to Y(es) for those selected in this report. I then generate the report. Using my dataset and entering a two great grandfather, the report set the INTERIM Flag for 149 persons to Y(es). Now the filter for the second report might be: INTERIM Flag Equals Y AND Is a Ancestor of Person Number [?] OR ID Number Equals [?] END The Secondary Output tab is again chosen with the same choices except that I use a different Flag -- the INTERIM2 Flag. When this report is generated, I enter my own ID Number in the two places. Then TMG selects the 149 persons with the INTERIM FLAG set to Y(es), finds 498 ancestors of those persons, and finally selects my record to make sure it is included for a total of 5 persons. The final run creates the new dataset. The filter for it might be: INTERIM2 Flag Equals Y END with "Include [X] Spouses chosen at the bottom of the screen. The Secondary Output tab is selected and the only option chosen is [X] Create New Dataset. When the report is run, the five person are selected and six spouses are also selected for a total of eleven persons. |
After the report is read and closed, TMG
displays an Extract Data Set window asking for the name to be assigned to the new dataset.
At this point, I normally choose the Create Directory button and create a new
directory/folder although this is not strictly necessary. If you do create the new
directory, the path for that directory will be displayed in the place for the name of the
new dataset after the directory is created. If you just enter the name of the new dataset
without a path for a directory, the new dataset will be created in the TMGW directory.
After you enter the new dataset name, click on the Create button and the new dataset will
be created. You may now choose the new dataset and begin using it. One thing to keep in mind is that this does not remove the person in the new dataset from the old dataset, it just copies them to it. Splitting a Dataset the Easy Way Summary |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Further information about The
Master Genealogist can be obtained from Wholly Genes, Inc., 5144 Flowertuft Ct, Columbia,
MD
21075, on the TMG website <http://www.whollygenes.com
> or tollfree at 1-800-982-2103, TMG Tech Support is available at
1-410-715-2260 or by e-mail at <tmg@whollygenes.com>.
Return to Lee's GH TMG Tips Page