* Child count template

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
mezentia
Superstar
Posts: 277
Joined: 12 Jan 2007 21:14
Family Historian: V7
Location: Stourbridge

Child count template

Post by mezentia » 18 Sep 2022 14:06

If I have a child count of zero against an individual , haw do I amend the sentence template to say "... no children." rather than " ... 0 children."

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

Re: Child count template

Post by tatewise » 18 Sep 2022 15:12

Yes, replace the {value} code with the {=TextIf( %FACT%="0", "no", %FACT% )} function.

In that function %FACT% is the same as {value}, which is not allowed.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
mezentia
Superstar
Posts: 277
Joined: 12 Jan 2007 21:14
Family Historian: V7
Location: Stourbridge

Re: Child count template

Post by mezentia » 18 Sep 2022 15:38

Thanks, Mike.

Post Reply