TMG-L Archives

Archiver > TMG > 2001-11 > 1004774518


From: "Wade T. Oram" <>
Subject: Re: [TMG] Focus problem
Date: Sat, 3 Nov 2001 08:01:58 +0000
References: <NDBBJJMPJKPBEPNBFPGACEAIFCAA.JCardinal@MediaOne.net><00d501c1641a$14aa0aa0$83a1a7cb@a3a7t0><4.2.2.20011102232958.01881400@pop3.norton.antivirus>
In-Reply-To: <4.2.2.20011102232958.01881400@pop3.norton.antivirus>


In message <>, Lee
Hoffman <> writes
>Garry F Bell wrote:
>>Hi
>>
>>I have been sent a large (8000 names) GEDCOM file which I have opened in a
>>new Dataset. Approx. 1500 of them are just names and nothing else - no
>>events, relationships or anything. Just a subject's name. As I want to move
>>these individuals into a Dataset of their own what focus formula would I
>>use?
>
>You might try List of People (LOP) report Focus tab filter like:
> Father *ID# Equals 0 AND
> Mother*ID# Equals 0 AND
> N of Children Equals 0 AND
> N of Spouses Equals 0 END
>
>This still may pick up any person(s) that have a non-Primary parent.
>But this should be a small number (if any). I would suggest that you
>use the above filter to set a Custom Flag to Y (when the default is N.
>Then run a LOP report creating the new data set based on the Flag equal
>Y. This would create the new data set with the 1500 persons.

I am not sure that this is exactly what the original submitter requested
although it will be a good start. This filter will include people who
have no (family) associations with other people. However, many of those
could have one or more tags associated with them e.g Death or Burial. If
it is required to set a filter to include only those people that have a
name tag and no other tag, then this will not work although it should
considerably shorten the list.

An alternative approach is to use a filter based on checking for the
existence of tags in each of the Tag groups except the name group such
as:

Any Tag Birth Group Does Not Exist AND
Any Tag Relationship Group Does Not Exist AND
... more groups to be eliminated go here
Any Tag Death Group Does Not Exist AND
Any Tag Burial Group Does Not Exist END

Using a filter based on this method, there should be no need to include
Lee's four filter elements since parents and children can not exist
without Relationship Tags and spouses can not exist without Marriage
(and possibly Divorce? I don't know - never tried it) group tags. As
long as you use 'Any Tag' rather than 'Any Primary Tag' this should also
eliminate the problem with Lees filter whereby people with only
non-primary relationship tags or marriage tags would still get included.

The groups that you should include should be all of the TAG groups
except 'Name' i.e. Relationship, Birth, Death, Burial, Marriage,
Divorce, History, Address and other.

It may also be nice to include a
Any Tag Name Group Number of tags > 1
line but I don't think that this is possible at present.

Please note that I have never tried a filter such as the one above
myself, but I have observed the presence of the facilities needed to do
it. If it does not work, I would be very interested to know why.


--
Wade T. Oram


This thread: