Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to:understanding_expressions [2018/03/05 17:49]
tatewise [Understanding Expressions]
how_to:understanding_expressions [2019/01/15 00:00] (current)
Line 9: Line 9:
   * **[[:​Glossary:​Queries]]** to specify Columns, Row filters, and Titles   * **[[:​Glossary:​Queries]]** to specify Columns, Row filters, and Titles
   * **Diagram Text Schemes** to define the content of Diagram Boxes   * **Diagram Text Schemes** to define the content of Diagram Boxes
-  * [[.Using Flags and Icons and Expressions|Diagram > Options > Boxes > Conditions]] to define box style since {{fh}} V4+  * [[Using Flags and Icons and Expressions|Diagram > Options > Boxes > Conditions]] to define box style since {{fh}} V4
   * [[.Report Options:​Main Contents|Reports]] to define Data items in certain Report Sections   * [[.Report Options:​Main Contents|Reports]] to define Data items in certain Report Sections
-  * [[.Customising Record Window Columns]] or **Named List** Columns+  * [[Customising Record Window Columns]] or **Named List** Columns
   * **Captions** and **Custom Fields** in Property Boxes   * **Captions** and **Custom Fields** in Property Boxes
-  * **Sentence Templates** for **Narrative Reports** ​since {{fh}} V6+  * [[Narrative Report Fact Sentence Templates]] since {{fh}} V6
   * **Override Templates** for **Fact** displays since {{fh}} V6   * **Override Templates** for **Fact** displays since {{fh}} V6
 See the **Family Historian Help > Using Family Historian > Advanced Topics > Expressions and Contexts of Use**. See the **Family Historian Help > Using Family Historian > Advanced Topics > Expressions and Contexts of Use**.
Line 55: Line 55:
 | =TextPart( %INDI.BIRT.PLAC%,​ 3, 1, STD )  | Gives 3<​sup>​rd</​sup>​ comma separated part of **Birth Place** ​            | | =TextPart( %INDI.BIRT.PLAC%,​ 3, 1, STD )  | Gives 3<​sup>​rd</​sup>​ comma separated part of **Birth Place** ​            |
 | =TextPart( %INDI.DEAT.ADDR%,​ 2, 0, TIDY ) | Gives 2<​sup>​nd</​sup>​ and subsequent tidied parts of **Death Address** ​   | | =TextPart( %INDI.DEAT.ADDR%,​ 2, 0, TIDY ) | Gives 2<​sup>​nd</​sup>​ and subsequent tidied parts of **Death Address** ​   |
 +| =IsTrue( %INDI.RELI% = "Roman Catholic"​ ) | True if **Religion** attribute value is **Roman Catholic** ​              ​| ​
 | =IsTrue( ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) >= 1 ) and ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) %%<=%% 5 ) )  | True if died aged between 1 and 5 years (needs a Birth & Death Date)  | | =IsTrue( ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) >= 1 ) and ( AgeAt( %INDI%, %INDI.DEAT.DATE% ) %%<=%% 5 ) )  | True if died aged between 1 and 5 years (needs a Birth & Death Date)  |
 | =IsTrue( AgeAt( %INDI%, EstimatedDeathDate( %INDI%, MID, 2 ) ) < 21 )        | True if died aged less than 21 years (needs a Birth & Death, Burial, or Cremation Date)  | | =IsTrue( AgeAt( %INDI%, EstimatedDeathDate( %INDI%, MID, 2 ) ) < 21 )        | True if died aged less than 21 years (needs a Birth & Death, Burial, or Cremation Date)  |