Page 1 of 1
Emigration Fact witness age
Posted: 26 Feb 2020 13:51
by dewilkinson
I have used the
Emigration Fact with a witness as a fellow traveling companion, but in the witness's sentence the age is that of the principal, which is clearly wrong. The sentence picks up the principal persons name correctly though.
This is the sentence construct.

- Capture.JPG (30.61 KiB) Viewed 2133 times
and this is the sentence output, Jessie is the mother aged 40, she was only 14

- Capture2.JPG (16.73 KiB) Viewed 2133 times
Re: Emigration Fact witness age
Posted: 26 Feb 2020 14:21
by tatewise
The {individual} and related codes reference the principal or witness name according to context.
All other codes such as {place} and {age} reference the principal fact.
Where else could such values be retrieved?
This is one of the snags with Fact Witnesses that have few details of their own.
It is one reason I don't use them much, especially for Census details, as there is no easy way to record Age.
Try using aged {=AgeAt(%CUR~WITN>%,%FACT.DATE%)} but that only works if both the Witness has a Birth Date and the Fact has a Date.
Alternatively, use aged {=GetLabelledText(%CUR~WITN.NOTE2%,"Age: ")} and add the age in a Witness Note.
You will probably have to enclose those expressions in a {=CombineText(...)} function to make aged conditional.
e.g.
{=CombineText( " aged ", GetLabelledText(%CUR~WITN.NOTE2%,"Age: "), , )}
Re: Emigration Fact witness age
Posted: 26 Feb 2020 15:58
by dewilkinson
Mike,
Many thanks, that is what I thought. I have on some occasions used the witness note field but as you say the limitations of Fact Witnesses precludes common usage.