* Displaying Marriage Details in Diagram

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
belmore
Gold
Posts: 11
Joined: 29 Apr 2009 20:28
Family Historian: None

Displaying Marriage Details in Diagram

Post by belmore » 07 Dec 2012 20:14

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

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Displaying Marriage Details in Diagram

Post by johnmorrisoniom » 07 Dec 2012 20:30

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

avatar
belmore
Gold
Posts: 11
Joined: 29 Apr 2009 20:28
Family Historian: None

Displaying Marriage Details in Diagram

Post by belmore » 07 Dec 2012 20:39

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

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Displaying Marriage Details in Diagram

Post by tatewise » 08 Dec 2012 10:27

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%

avatar
belmore
Gold
Posts: 11
Joined: 29 Apr 2009 20:28
Family Historian: None

Displaying Marriage Details in Diagram

Post by belmore » 08 Dec 2012 10:55

Thanks Mike

That was the solution that I was looking for.

Robin

Post Reply