Q: Children Count for a Mother
[email protected] (Jutta Wrage) Sun, 25 Jun 2017 16:27:13 +0200
| Newsgroups | perl.gedcom |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_BEA09742-849D-4BCD-870E-E54D400D2DE5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 --Apple-Mail=_BEA09742-849D-4BCD-870E-E54D400D2DE5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAllPyEYACgkQOgZ5N97kHkdktwCfTOm0OiRiCfV8xLMnzVIskgQr 4GAAoK1iYgLorcEgZdwFUvQ9kIrELYgR =gzk/ -----END PGP SIGNATURE----- --Apple-Mail=_BEA09742-849D-4BCD-870E-E54D400D2DE5--