Re: Q: Children Count for a Mother
[email protected] (Ron Savage) Mon, 26 Jun 2017 13:20:47 +1000
| Newsgroups | perl.gedcom |
|---|---|
| Message-ID | <[email protected]> |
Hi Jutta What comes to find is checking their birthdates. On 26/06/17 00:27, Jutta Wrage wrote: > Hi! > > I want to get the number of children of a woman. > > If I call number_of_children for every family, I get only the correct number, if there isn't one of the childrens added to two of the families. > > Example: > Woman gets a child > Then she is divorced an married again before the child is adult. > The child is added to the new family as being Stepchild this makes it counted for both of the families. > > I did not find out how to get access to the qualifiers "Step", "biological"... > So it seems not be possible to count the children myself without putting them to an array and sort out duplicates > or iterate through all individuals and increase a counter for a mother on each one. > > Am I right so far? Or is there a better way to find out how many children are born by same mother? > > Jutta > > -- > http://www.witch.westfalen.de > -- Ron Savage - savage.net.au