Page 1 of 1

Use of {place2} code in a Custom Fact

Posted: 14 Jul 2023 08:36
by D-W
The Emigration Fact which is a Standard Event uses the code {place2}. The sentence code is:
<para>{date} {individual} emigrated <from {_place}> <to {_place2}> {age} <with {other=emigrant}> {note}.
and there is an additional data entry field labeled 'To:' in the lower half of the Facts tab.
It works well resulting in the sentence, 'In 1912 he emigated from Wales to the United States'. However, as far as I can see, Emigration is the only fact where {place2} is used. Also {place2} is not offered as a code in the Insert Code list.
I would like to generate a Moved custom event fact which would result in the sentence 'In 1820 he moved from Warwick to London'. I tried using the {place2} code but the Facts tab did not provide the additional 'To' field in which to enter the place he moved to.
Is it possible to use the {place2} code in a Custom fact which results in an additional 'To:' field in the Facts tab?

Re: Use of {place2} code in a Custom Fact

Posted: 14 Jul 2023 09:44
by tatewise
The short answer is NO you cannot use the {place2} feature except in Emigration and Immigration events.

The longer answer is that although Emigration and Immigration are standard GEDCOM Events, the second Place field is a special FH extension and not part of the GEDCOM Specification. The number of times this topic has been raised makes me wish FH had never introduced the 2nd Place feature. If I had a £1 for every time this was asked ...

BTW: You asked a similar question in 2018, Use of {place_2} in Facts other than Emigration and Immigration (16242) and seemed happy with the solution offered then.

Re: Use of {place2} code in a Custom Fact

Posted: 15 Jul 2023 14:36
by D-W
Please accept my apologies for not perusing and reading forum posts and the Knowledge Base more thoroughly before posting my question. I can understand your exasperation! In particular I found the article on Entering Standard and Custom Fields for Facts very useful. Before I read it I didn't even realise that labelled Note meta-fields existed. I never cease to be surprised by the versatility of FH.