* Suggestion: how to port TMG's split memo's to FH

Importing from another genealogy program? This is the place to ask. Questions about Exporting should go in the Exporting sub-forum of the General Usage forum.
Post Reply
avatar
JohnJ_au
Platinum
Posts: 30
Joined: 12 Dec 2014 01:13
Family Historian: V6

Suggestion: how to port TMG's split memo's to FH

Post by JohnJ_au » 31 Dec 2014 11:30

For those migrating from TMG who need something similar to the TMG split memo, then you might like to adapt my census principal sentence:

{date} {individual} was listed in the {date:Year} {=TextPart(%FACT.PLAC%,-1)} census as {=TextPart(%FACT.NOTE2%,1)} {place}. In the census {individual's} name was given as {=TextPart(%FACT.NOTE2%,2)}<, age {=TextPart(%FACT.NOTE2%,3)}><, occupation {=TextPart(%FACT.NOTE2%,4)}><, birthplace {=TextPart(%FACT.NOTE2%,5)}>.< {=TextPart(%FACT.NOTE2%,6)}.>< Also living in the household at the time was {other=resident}.>

This assumes the Note is structured as: role, name, age, occupation, birthplace, anything-else. This is the same structure as my TMG Memo with || replace with a comma.

I suspect I'll move over to AS as I get more familiar with that piece of the puzzle but the above got me out of a hole for the initial migration where I had ~110 census events that I didn't fancy redoing.

Happy to discuss further if anyone is interested.

avatar
D-W
Gold
Posts: 12
Joined: 03 Aug 2014 10:25
Family Historian: V7
Location: Devon

Re: Suggestion: how to port TMG's split memo's to FH

Post by D-W » 05 Jan 2015 14:07

I too have migrated from TMG where I found the use of witnesses and split fields extremely useful. The primary reason for my migration is that TMG is no longer supported. However, I am having real problems with programming sentence structures in FH and so I was very interested in your post.
Although I used spit data fields in TMG I did it a different way from you. In my Census Tag (Fact in FH) I split the Principal Note so that I could use relevant parts in the Witness Notes. For example, I split the following Principal Note into three parts (I have used TMG dividers || to make the splits clear):
“The household consisted of Hezekiah and his first wife Hannah and their children, Harriett Charles, Harry & Thomas.|| The family shared the house with another family of 8 making 14 in all.|| The Census gives no indication of the size of the house.”
Unfortunately, the use of commas in FH to split fields, instead of || as in TMG, prevents the use of sentences such as:
“The household consisted of Hezekiah, his first wife Hannah and their children Harriett, Charles, Harry and Thomas” because the split occurs after the word “Harriett”. I have tried wrapping the commas in ampersands which works with some other programs but is doesn’t work in FH.
In the Sentence field the second note {=TextPart(%FACT.NOTE2%,2)} is truncated to a few words and ends with “…” so it now reads “The family shared the house with …” instead of, “The family shared the house with another family of 8 making 14 in all.”
The third note which should read, “The Census gives no indication of the size of the house.” does not appear at all.
I have also noticed that Witness Notes are truncated. I haven’t counted the characters (256?) but if the note exceeds the limit it finishes with … which appears in both the Witness Sentence and reports.
I am not sure whether there is any way of resolving these problems in the current version of FH but if there is I would grateful for any help.

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

Re: Suggestion: how to port TMG's split memo's to FH

Post by tatewise » 05 Jan 2015 14:52

Yes, there is, John discovered several techniques while designing his Witness Sentence.
Unfortnately, he has omitted to pass on all the accumulated knowledge.
See his original Sentence is truncated ... (12081) thread.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply