* Conditional Line in Diagram Text Scheme

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
User avatar
johnmorrisoniom
Megastar
Posts: 901
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Conditional Line in Diagram Text Scheme

Post by johnmorrisoniom »

I have line in my diagram text scheme to show the relationship pool number.
Relation Pool.JPG
Relation Pool.JPG (56.89 KiB) Viewed 2800 times
Is there a way to make this conditional, so that the line only shows if it is NOT pool 1
TIA
John
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Conditional Line in Diagram Text Scheme

Post by tatewise »

Yes, use the Template:
=TextIf( RelationPool() > 1, Text("Family Pool Number Is " . RelationPool()), )

I guess you know that will only display for sub-trees that are not part of your largest tree.
Everyone shown in the same Diagram tree will have the same Pool Number.
So for a single tree Diagram all will have same Pool Number and you only need =RelationPool() in a title Text Box.
For a multi-tree Diagram where you have used Insert into Diagram you only need one title Text Box near each sub-tree.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
johnmorrisoniom
Megastar
Posts: 901
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Re: Conditional Line in Diagram Text Scheme

Post by johnmorrisoniom »

Thanks Mike, that does exactly what I wanted

Hope you and yours have a Happy Christmas.
Regards
John
Post Reply