Re: Fwd: find in tree: persons with no immigration event

Douglas Bainbridge <[email protected]>
Newsgroups gmane.comp.genealogy.gramps.user
Message-ID <[email protected]>
Can I just point out an important detail for the filter?:

People born in the United States
People with an Immigration event
"return not matching"
The Option specification is crucial - it should be

"At least one rule must apply" NOT "All rules must apply"

"All rules" is equivalent to selecting -
either people not born in the United States OR  people 
without an immigration event

whereas the option "at least one rule" is equivalent to 
selecting -
people who are BOTH not born in the United States AND  have 
no immigration event

HTH
Doug

On 18/03/2022 01:01, [email protected] wrote:
> OK Dave, thanks to you I now I have something that works. The key thing you
> taught me is that in a people filter, I can select "People with the person
> <event>, Event = "Immigration"" I don't need three filters, just a single
> one with two rules, and the "Return values that do not match the filter
> rules" checked.
>
> My people filter called foreign-no-immigration has two rules:
> - People born in the United States
> - People with an Immigration event
> And the "return not matching" box checked.
>
> Thanks to Les and Dave for sticking with me to figure this out. Maybe we
> should add this example to the manual page on Filters.
>
> -deborah
>
> On Thu, Mar 17, 2022 at 4:41 PM Dave Scheipers <[email protected]>
> wrote:
>
>> There are good filters within the People filters to handle many of the
>> event parameters. Since you are ultimately looking to select people, the
>> more you do under the People filters the better. The three filters I
>> believe will give you what you seek.
>>
>> Filter 1: People with the person <event>, Event = "Birth", Place = "U.S.A."
>> (or however you have the USA entered)
>> "Return values that do not match the filter rules" checked
>>
>> This returns people not born in the U.S.A.
>>
>> Filter 2: People with the person <event>, Event = "Immigration"
>> "Return values that do not match the filter rules" checked
>>
>> This returns people with no Immigration event
>>
>> Filter 3: People matching the <filter> Filter 1
>> People matching the <filter> Filter 2
>> Options: All rules must apply
>>
>> This returns the people that are not born in the U.S.A. _and_ with no
>> Immigration event.
>>
>> -----
>>
>> If you want a People filter to access an Event filter use:
>> Persons with events matching the <event filter>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> --
>> Gramps-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> https://gramps-project.org
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>



-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.