Whilst I found some posts that seem to relate to this problem, I couldn't find an exact answer to my situation; and reference to the knowledge base left me even more confused....
I have used expressions to place an icon if I have birth/marr/death certificates for individuals, and this used to work fine. The birth/death ones still work OK (in version6) but the marriage ones don't display.
The expression I use for birth certs is : =IsTrue(%INDI.BIRT.SOUR>_TYPE% = "certificate")
The equivalent for marriages is : =IsTrue(%FAM.MARR[1+].SOUR>_TYPE% = "certificate")
I would be grateful if someone can suggest why the latter isn't working anymore.
* Expressions in diagram boxes
Expressions in diagram boxes
Kind regards, Stuart
- tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Expressions in diagram boxes
Yes, it is new Contextual Data References that you need to use as explained in how_to:understanding_data_references|> Understanding Data References and using the examples in how_to:understanding_expressions|> Understanding Expressions.
For your scenario I think the following should work:
=IsTrue( %CUR_FAMS>MARR.SOUR>_TYPE% = "certificate" )
You do not need the [1+] looping index unless you have multiple MARRiage Events per Family couple.
For your scenario I think the following should work:
=IsTrue( %CUR_FAMS>MARR.SOUR>_TYPE% = "certificate" )
You do not need the [1+] looping index unless you have multiple MARRiage Events per Family couple.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Expressions in diagram boxes
Thanks for your prompt reply, Mike. Sorry to be slow in acknowledging this, been pre-occupied with domestic matters courtesy of high winds and lots of rain!
I thought that it had something to do with the new arrangements for expressions but couldn't quite get my head around the available information. Now that I can see the changes in my specific example, I'll go back and look again at the Knowledge Base and hopefully be able to make more sense of it this time.
As ever, your help is very much appreciated.
Stuart
I thought that it had something to do with the new arrangements for expressions but couldn't quite get my head around the available information. Now that I can see the changes in my specific example, I'll go back and look again at the Knowledge Base and hopefully be able to make more sense of it this time.
As ever, your help is very much appreciated.
Stuart
Kind regards, Stuart