That will merge separate INDI records with the same birthdate, which may well be what you want. If it is not, you could check the xref or rin, if you have one.
But I think you will actually need to write that code yourself. Perhaps putting them in a hash keyed on the xref would be the simplest solution? On Mon, Jun 26, 2017 at 01:20:47PM +1000, Ron Savage wrote: > 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 > -- Paul Johnson - p...@pjcj.net http://www.pjcj.net