RootsWeb.com Mailing Lists
Total: 3/3
    1. [TMG] Filter Problem or Pilot Error?
    2. Karl Lehman via
    3. I searched the TMG list archives and found related topics but nothing that addressed my problem specifically. I was inspired by the discussion of parentless people to create a flag called NumParents with values of ?,0,1,2,M (with obvious meanings). I then planned to use the Secondary Output feature of List of People to set this flag appropriately for the people in my project. However, I'm having problems with the "# of Parents" test in my LOP filters. The filter works fine when I use # of Parents Equals 0 END However, when I use the following test # of Parents Equals 2 END I get no output (i.e. 0 persons pass the filter). I also get no output for the following test # of Parents Equals 1 END If I instead use # of Mothers Equals 1 AND # of Fathers Equals 1 END I get correct output for people with both parents. I also get correct output for people with only one parent using (# of Mothers Equals 1 AND # of Fathers Equals 0 )OR (# of Mothers Equals 0 AND # of Fathers Equals 1 )END Since I've not seen this reported as a bug, I'm assuming pilot error. Am I misunderstanding how "# of Parents" works? Thanks, Karl Lehman

    08/09/2015 06:49:30
    1. Re: [TMG] Filter Problem or Pilot Error?
    2. Terry Reigel via
    3. On 8/9/2015 3:49 PM, Karl Lehman via wrote: > I was inspired by the discussion of parentless people to create a flag > called NumParents with values of ?,0,1,2,M (with obvious meanings). I then > planned to use the Secondary Output feature of List of People to set this > flag appropriately for the people in my project. However, I'm having > problems with the "# of Parents" test in my LOP filters. > > > The filter works fine when I use > # of Parents Equals 0 END > > > However, when I use the following test > > # of Parents Equals 2 END > > I get no output (i.e. 0 persons pass the filter). > > > Since I've not seen this reported as a bug, I'm assuming pilot error. Am I > misunderstanding how "# of Parents" works? Karl, I thought it might be that "Parents" was defined as a parent of unknown sex, but it's not that either. I think that filter is just broken. Terry Reigel

    08/09/2015 11:33:08
    1. Re: [TMG] Filter Problem or Pilot Error?
    2. Lee Hoffman/KY via
    3. At 8/9/2015 15:49, you wrote: >If I instead use > ># of Mothers Equals 1 AND > ># of Fathers Equals 1 >END > >I get correct output for people with both parents. Another option is to use a filter like: Father * Is ID# 0 AND Mother * Is ID# 0 ----- Note that this looks only at Primary parent relationships. So if you are looking for persons with multiple parental relationships, this would not be the way to go. But it can be useful otherwise. Lee

    08/10/2015 07:46:46