* Using Relationship to Parents in queries

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Little.auk
Famous
Posts: 224
Joined: 23 Jul 2021 08:51
Family Historian: V7
Location: Tamworth, Staffordshire, UK

Using Relationship to Parents in queries

Post by Little.auk » 11 Nov 2022 10:26

How do I add a "Relationship to Parents" column to a query (i.e. b= birth, a= adopted etc)
I can't find the field in the query "Fields" list, and I haven't been able to find the correct field name in the knowledge Base to be able to add it manually.
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Using Relationship to Parents in queries

Post by ColeValleyGirl » 11 Nov 2022 10:43

Try

Code: Select all

%INDI.FAMC[1].PEDI[1]%
Configuring the Record window, I found it by selecting <Other...> when configuring columns and then Insert Data Ref and browsing the reference tree.

In a query, you're looking for (Relationship) under Family as Child.

avatar
Little.auk
Famous
Posts: 224
Joined: 23 Jul 2021 08:51
Family Historian: V7
Location: Tamworth, Staffordshire, UK

Re: Using Relationship to Parents in queries

Post by Little.auk » 11 Nov 2022 11:34

Thanks - I should have seen that!
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Using Relationship to Parents in queries

Post by ColeValleyGirl » 11 Nov 2022 11:52

If an individual has more than one set of parents, you'll need more than one column, e.g.

Code: Select all

%INDI.FAMC[1].PEDI[1]%
%INDI.FAMC[2].PEDI[1]%

Post Reply