View Wishlist

Reference 546
Title Enhanced use of Narrative Template Codes
Category Reports
Description Fact Type narrative Sentence Templates now support Expressions with Functions & Data Refs as well as Codes.

Codes in Functions
Data Refs and Codes are often interchangeable.
e.g. %FACT.NOTE2% = {note}
So the following should work:
{=TextIf( Exists({date}), {date}, EstimatedBirthDate(...) )}
but such Codes are disallowed in Functions, so must use a very complex set of Functions to format the date.
This request is to allow such Codes inside Functions.

Additional Codes
The following additional Codes are requested:
{witnote} is {%CUR~WITN.NOTE2%}
{note(x)} is =GetParagraph(%FACT.NOTE%,x)
{addr(x)} is =GetParagraph(%FACT.ADDR%,x)
{note("x")} is =GetLabelledText(%FACT.NOTE%,"x")
{addr("x")} is =GetLabelledText(%FACT.ADDR%,"x")
{plac(x,y)} is =TextPart(%FACT.PLAC%,x,y)
{addr(x,y)} is =TextPart(%FACT.ADDR%,x,y)
{noperiod} inhibits final full-stop and next capital
{citations} to force {blank} text citations

See WEB LINK for further details.
Web Link http://www.fhug.org.uk/forum/viewtopic.php?t=13416
Votes 6
Rating 3.3
Added Monday 15th August 2016
Last Vote Thursday 5th December 2019

 

Only Signed in FHUG users can vote, please go to the Forum and sign in.

 Return to List

Request new Wishes