I must be doing something so spectacularly obvious that I don't see it. I'm trying out some functions in sentence templates and I can't get them to work:
{individual} was remembered as the {=Parentage(%INDI%)}
returns only "He was remembered as the."
This is an example; I know there are other ways to get the result, but why does the function fail?
* Function problem in sentences
- Robert Jacobs
- Famous
- Posts: 111
- Joined: 21 Mar 2015 18:03
- Family Historian: V7
- Location: Ellensburg, Washington, U.S.A.
- Contact:
- tatewise
- Megastar
- Posts: 27085
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Function problem in sentences
Sentence Templates operate in the context of the current %FACT% and so %INDI% has no meaning.
You need to use the Contextual Data Reference %CUR_PRIN%.
See the FHUG Knowledge Base Understanding Data References and the FH Help page Understanding Data References under Contextual Data References.
You need to use the Contextual Data Reference %CUR_PRIN%.
See the FHUG Knowledge Base Understanding Data References and the FH Help page Understanding Data References under Contextual Data References.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Robert Jacobs
- Famous
- Posts: 111
- Joined: 21 Mar 2015 18:03
- Family Historian: V7
- Location: Ellensburg, Washington, U.S.A.
- Contact:
Re: Function problem in sentences
Thanks, Mike. RTFM all over again . . . 