Page 1 of 1

Conditional Line in Diagram Text Scheme

Posted: 22 Dec 2018 09:52
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 2695 times
Is there a way to make this conditional, so that the line only shows if it is NOT pool 1
TIA
John

Re: Conditional Line in Diagram Text Scheme

Posted: 22 Dec 2018 10:10
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.

Re: Conditional Line in Diagram Text Scheme

Posted: 22 Dec 2018 12:26
by johnmorrisoniom
Thanks Mike, that does exactly what I wanted

Hope you and yours have a Happy Christmas.
Regards
John