Page 1 of 1
INDI's ID in a family-type query?
Posted: 13 Jul 2005 19:55
by SabineS
How can I get the ID of an individual person into a family-type query? I tried:
=RecordId(%INDI.~FATH>%),
but that does not work with family-type queries.
Sabine
ID:977
INDI's ID in a family-type query?
Posted: 13 Jul 2005 21:00
by Jane
Obivously to get the ID in a family query you need to start from a family rather than an INDI record.
As usual the best way to do this is to use the data reference files list pick the route information and then wrap the function around it.
So
%FAM.HUSB> returns the husband, therefore
=RecordId(%FAM.HUSB>%)
returns the husbands record id
FAM.WIFE> returns the wife, therefore
=RecordId(%FAM.WIFE>%)
returns the wifes record id
INDI's ID in a family-type query?
Posted: 14 Jul 2005 07:04
by SabineS
Jane,
thanks again - those data references are hard to understand, but once one has got them, they are extremely powerful. One of the most interesting features in this software.
Sabine