Page 1 of 1

Displaying Marriage Details in Diagram

Posted: 07 Dec 2012 20:14
by belmore
In one of my Diagram Text Layouts I use the following template to display the date and place of the persons marriage:

Marr: %INDI.FAMS>MARR.DATE:COMPACT% in%FAM.MARR.ADDR% %FAM.MARR.PLAC:TIDY%

I would like to display this for each marriage where there has been more than one marriage recorded. (Similar to that displayed in the ALL EVENTS & ATTRIBUTES text layout)

Does anyone know how to achieve this ?

Thank you

Robin



ID:6636

Displaying Marriage Details in Diagram

Posted: 07 Dec 2012 20:30
by johnmorrisoniom
I Think that :

Code: Select all

Marr: %INDI.FAMS[1+]>MARR.DATE:COMPACT% in%FAM.MARR.ADDR% %FAM.MARR.PLAC:TIDY%
should work, but I may have the 1+ in the wrong place

Displaying Marriage Details in Diagram

Posted: 07 Dec 2012 20:39
by belmore
Thanks for that John

Nearly there - this gives an extra entry showing the Place

e.g.

Marr: 16 Jul 1836 in Egerton, Kent, England
Marr: 24 May 1844 in Egerton, Kent, England
Marr: in Egerton, Kent, England

The extra place line appears even with single marriage entries

Robin

Displaying Marriage Details in Diagram

Posted: 08 Dec 2012 10:27
by tatewise
You need to use the same [1+] index on each item of data:

Code: Select all

Marr: %INDI.FAMS[1+]>MARR.DATE:COMPACT% in%INDI.FAMS[1+]>MARR.ADDR% %INDI.FAMS[1+]>MARR.PLAC:TIDY%

Displaying Marriage Details in Diagram

Posted: 08 Dec 2012 10:55
by belmore
Thanks Mike

That was the solution that I was looking for.

Robin