Details:
I have reviewed the "Birth & Baptism Events" section in Knowledge Base > Narrative Report Fact Sentence Templates.
Per that page, this sentence template...
Code: Select all
{individual} was born< {date}>< {place}>< ({age})>{=CombineText( Text( " and is " . FileRoot() . "'s "),
TextIf(IsSameItem(FileRoot(),%CUR_PRIN%) or IsSameItem(FileRoot(),%CUR_PRIN.~FATH>%) or
IsSameItem(FileRoot(),%CUR_PRIN.~MOTH>%), "", Relationship(FileRoot(),%CUR_PRIN%,TEXT,1) ) )}
He was born on 1 May 1900 in London and is John Smith's grandfather.
When I make that the sentence template for the Birth fact type, and run a Narrative Report / Ancestors by Generation starting with John Smith (who is my File Root), all of the birth references end with "is John Smith's grandfather" or "is John Smith's great grandmother" etc. All as expected.
But I'd like those sentences instead to read from the perspective of the person on which the report is based, who in most cases will not be the person I have designated as the File Root.
For example, if I have John's sister Teresa as the starting point of the report, each of her entries refers to her ancestor as "is John Smith's grandfather" or "is John Smith's great grandmother" - when what I'd like to see instead is "is Teresa Smith's grandfather" or "is Teresa Smith's great grandmother".
Here is my question: I see and understand the FileRoot function reference above; is there something like a "ReportRoot" equivalent which would get me to where I have described?
If not, perhaps my best path is to always reset the file root person (from John to Teresa, in this example) before I generate any report where Teresa is the starting point, and then set it back to John after I run that report.
Thanks.