*Expression for Marriage Icon

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile
Post Reply
TimTreeby
Famous
Posts: 149
Joined: 12 Sep 2003 14:56
Family Historian: V6.2
Location: Ogwell, Devon
Contact:

Expression for Marriage Icon

Post by TimTreeby » 08 Nov 2016 21:22

Have an expression to show a Marriage icon as

=ContainsText(%INDI.FAMS>MARR.SOUR>_TYPE%,"PR - Marriages",STD)

This works fine apart from one small problem that I have just spotted.

Have sources with different Source Types

I use SOURCE TYPE : PR- Marriages
and SOURCE TYPE : PR - Marriages (T)

depending whether have seen actual Parish Register Marriage Entry or just a Transcript.

I only want Marriage Icon to show if source type is "PR - Marriages" and not "PR - Marriages (T)"

Is there any way to change the expression to make it work or do I need to change Source Type slightly for the Transcript ones.

User avatar
tatewise
Megastar
Posts: 16166
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Expression for Marriage Icon

Post by tatewise » 08 Nov 2016 22:02

See Knowledge Base > Understanding Expressions for examples.
Use the =IsTrue( <type> = "PR - Marriages" ) style of expression.
I also advise you use CUR_FAMS context data ref so it refers to the displayed Family couple.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply