Changes

From Gramps

Example filters

2,810 bytes removed, 19:00, 19 June 2015
Example: All married males with family name containing rechter/richter
----
 
==Example: All married males with family name containing rechter/richter==
Three possibilities are given. Although one might be inclined to use one of the first two, the third filter, using the family object, is clearly the easiest, and most straightforward.
=== Use the Marriage event ===
* With Person Filter Editor, create a custom filter with name ''MarriageFamEventMale''. Add the rule 'People with Family <event>', event "Marriage". Next add the rule 'Males'
* In the Filter dialog, make sure the option 'all rules must apply' is checked.
* In the Filter sidebar, type in Name field: r<nowiki>[ei]</nowiki>chter, select Custom Filter: ''MarriageFamEventMale'', and check the box 'User regular expressions'. Click Find.
 
=== Allow for relationship Married ===
We adopt the previous filter, by also looking at relationship Married, even if no event marriage is present.
* With Person Filter Editor, create a custom filter with name ''MarriedRelMale''. Add the rule ''People with the <relationships>'' to the filter, and select as value for relationship: Married. Next add the rule ''Males''. Make sure the option ''all rules must apply'' is checked
* With Person Filter Editor, create a custom filter, name ''MarriedMale''. Add the rule ''People matching the <filter>'' twice, once with filter ''MarriageFamEventMale'', once with filter ''MarriedRelMale''.
* Make sure that for this filter, the option ''at least one rule must apply'' is selected
* In the Filter sidebar, type in Name field: r<nowiki>[ei]</nowiki>chter, set Gender: Male, Custom Filter: ''MarriedMale'', and check the box ''Use regular expressions''. Click Find.
 
=== Use a Family filter instead ===
Alternatively, one can find an answer to this query by looking in the Family list view at relationship Married, or event Marriage.
* With Family Filter Editor, create custom filter, name ''MarriedFamily''. Add the rule ''Families with the <event>'', and set event to "Marriage". Next add the rule ''Family with relationship type'', with value ''Married''.
* For the filter ''MarriedFamily'' select the option: ''at least one rule must apply''
* In the Family List view, go to the Filter Sidebar, and type for father name ''r<nowiki>[ei]</nowiki>chter'', select as custom filter ''MarriedFamily'', and select the ''Use regular expressions'' checkbox, and click find.
* Set the columns of the family view to only view the father (in the edit menu, select column editor).
* Optional: The name of the father can be added to the custom filter with the rule 'Families with father with the <name>', however, in that case the name of the custom filter is better changed to eg. ''MarriedRechterFamily'', and in the rules with <name> no regular expressions can be used, making it not usefull to find variants like ''richter'' at the same time
== Unconnected/unrelated people ==
67
edits

Navigation menu