I want to build a Fact sentence template in FH 6.2.7 like this:
The {date:YEAR} {label} for {=CombineText("at ",TextPart(%FACT.ADDR%,1,5,Tidy),,CombineText("in ",TextPart(%FACT.PLAC%,1,5,Tidy),,))} recorded the head of the household as {role(single)=Head of Household}. <His spouse was {role=Wife}. ><Her spouse was {role=Husband}.><The Children were {role=Son,Daughter,Stepson,Stepdaughter,Son-in-law,Daughter-in-law}. ><Other family members were {role=Father,Mother,Father-in-law,Mother-in-law,Stepfather,Stepmother,Brother,Sister,Brother-in-law,Sister-in-law,Grandfather,Grandmother,Grandfather of Wife,Grandmother of Wife,Grandfather of Husband,Grandmother of Husband,Grandson, Granddaughter,Grandson of Wife,Granddaughter of Wife,Grandson of Husband,Granddaughter of Husband,Uncle,Aunte,Nephew,Niece,Adopted Son,Adopted Daughter, Fostered Son, Fostered Daughter}.><The Servants were {role=Assistant,Servant,Housekeeper,Butler,Groom,Nurse}. ><Others living there were {role=Lodger,Boarder,Resident,Pupil,Student,Patient,Inmate}. >< Visitors at the time of census were {role=Visitor}. ><<para>Note: {=TextPart(%FACT.ADDR%,7,1)}><{note}>
This works OK at first.
If I save the project, close the project and reopen the project it will appear the same, no problem.
However, If I save the project, close the project, and exit from FH completely, restart FH and open the project I end up with this:
The {date:YEAR} {label} for {=CombineText("at ",TextPart(%FACT.ADDR%,1,5,Tidy),,CombineText("in ",TextPart(%FACT.PLAC%,1,5,Tidy),,))} recorded the head of the household as {role(single)=Head of Household}. <His spouse was {role=Wife}. ><Her spouse was {role=Husband}.><The Children were {role=Son,Daughter,Stepson,Stepdaughter,Son-in-law,Daughter-in-law}. ><Other family members were {role=Father,Mother,Father-in-law,Mother-in-law,Stepfather,Stepmother,Brother,Sister,Brother-in-law,Sister-in-law,Grandfather,Grandmother,Grandfather of Wife,Grandmother of Wife,Grandfather of Husband,Grandmother of Husband,Grandson, Granddaughter,Grandson of Wife,Granddaughter of Wife,Grandson of Husband,Granddaughter of Husband,Uncle,Aunte,Nephew,Niece,Adopted Son,Adopted Daughter, Fostered Son, Fostered Daughter}.><The Servants were {role=Assistant,Servant,Housekeeper,Butler,Groom,Nurse}. ><Others living there were {role=Lodger,Boarder,Resident,Pupil,Student,Patient,Inmate}. >< Visitors at the time of cen
Which no longer works as intended. It looks like the problem is to do with loading the data initially, not what can be held while FH6 is running. Can this be fixed?
Regards, Graham