* AssocList values

AS allows faster and more convenient creation of source records for Family Historian.
Post Reply
avatar
ColinMc
Superstar
Posts: 442
Joined: 17 Jan 2019 11:35
Family Historian: V7
Location: Edinburgh

AssocList values

Post by ColinMc » 24 Jul 2021 11:21

I'm creating a Auto-Text template for a Canadian Marriage. This one has a section for witnesses as shown below:-

assoclist.jpg
assoclist.jpg (35.06 KiB) Viewed 2055 times

As far as I can see from the help file, all the ASSOCLIST keywords produce a LIST of in this case Witnesses. Am I correct in assuming that there is no way to output them to show Witness 1 followed later by Witness 2?

I can handle this manually without any problem, so I'm just checking just in case one of the experts knows of an automated solution.
Colin McDonald - Researching McDonald, McGillivray, Tait, Rountree families

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

Re: AssocList values

Post by tatewise » 24 Jul 2021 11:56

Could you make use of this feature:
ASSOCLIST can also include a parameter in square brackets to specify that a particular witness type should be displayed. For example: {ASSOCLIST[Witnesses].COMMA} would show just associated individuals where the title of the association type is 'Witnesses'.
Enter each witness with a different Title such as Witness1, Witness2, Witness3, etc, but where their Role Description is Witness for all of them. You will need to create some new Associated Individual Types for those definitions.
That should map them all onto the FH fact definition for Marriage Fact Witness Role of Witness but allow them to be listed individually via the {ASSOCLIST[Witness1]} and {ASSOCLIST[Witness2]} style of AS keywords.

I have not tried that but it ought to work.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
ColinMc
Superstar
Posts: 442
Joined: 17 Jan 2019 11:35
Family Historian: V7
Location: Edinburgh

Re: AssocList values

Post by ColinMc » 24 Jul 2021 14:00

Thanks,

I'll try it tomorrow when I get time.
Colin McDonald - Researching McDonald, McGillivray, Tait, Rountree families

avatar
ColinMc
Superstar
Posts: 442
Joined: 17 Jan 2019 11:35
Family Historian: V7
Location: Edinburgh

Re: AssocList values

Post by ColinMc » 26 Jul 2021 10:36

Many thanks for your help.

I can confirm that the suggestion worked perfectly
Witness.jpg
Witness.jpg (20.2 KiB) Viewed 1964 times
As far as I can see, the roles also appeared correctly in FH
mar 1.jpg
mar 1.jpg (61.77 KiB) Viewed 1964 times
mar 2.jpg
mar 2.jpg (63.57 KiB) Viewed 1964 times
Colin McDonald - Researching McDonald, McGillivray, Tait, Rountree families

Post Reply