* Relationship to Root

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
Stevebye
Superstar
Posts: 258
Joined: 04 Mar 2006 23:41
Family Historian: V6

Relationship to Root

Post by Stevebye » 22 Jul 2013 12:18

=Relationship(FileRoot(),%INDI%,TEXT,1) works fine until the sex of the person is unknown.

Have a stillborn child born 1929 that no one knows if boy or girl. I cleared the 'Sex:' box and when building a Diagram or Report a male relationship is shown. I expect =Relationship(FileRoot(),%INDI%,TEXT,1) is defaulting to Male as that is the first option in the 'Sex:' menu.

Is there anyway of returning both the Male / Female relationship or no output when the sex is unknown ?

ID:7016

User avatar
PeterR
Megastar
Posts: 1129
Joined: 10 Jul 2006 16:55
Family Historian: V7
Location: Northumberland, UK

Relationship to Root

Post by PeterR » 22 Jul 2013 12:47

I suppose 'child', 'grandchild', 'great grandchild', etc., would work for direct descendants of the root individual, but I'm not aware of a gender-neutral term for niece/nephew.
Peter Richmond (researching Richmond, Bulman, Martin, Driscoll, Baxter, Hall, Dales, Tyrer)

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Relationship to Root

Post by tatewise » 22 Jul 2013 13:08

The following would produce no output if the Sex is undefined.

=TextIf( IsEmpty(%INDI.SEX%), ,Relationship(FileRoot(),%INDI%,TEXT,1) )
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Stevebye
Superstar
Posts: 258
Joined: 04 Mar 2006 23:41
Family Historian: V6

Relationship to Root

Post by Stevebye » 22 Jul 2013 13:15

Thanks Mike. Spot on as usual [smile]

Post Reply