* Merging two families

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
RogerF
Famous
Posts: 182
Joined: 26 Apr 2009 16:32
Family Historian: V6.2
Location: Oxfordshire, England
Contact:

Merging two families

Post by RogerF » 12 Aug 2016 17:57

Suppose I discover that I have recorded John Smith married to the same Mary Jones as two separate marriages. I want to merge the two families, so I'd like to run a query which reports the Family Rec Id of all JS/MJ marriages. I thought that Family as Spouse > Miscellaneous> Automated Record ID would work, but apparently not. What am I getting wrong?
Roger Firth, using FH to research the FIRTHs of Lancashire and Yorkshire, and the residents of the market town where I live.

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

Re: Merging two families

Post by tatewise » 12 Aug 2016 18:04

Why do you need a Query?
Just look up the JS/MJ records in the Records Window on the Families tab, using the Name Filter.

Automated Record Id is nothing to do with Record Id.
In an Individual Query you need to use the =RecordId(%INDI.FAMS>%) function.
But a Family Query would be easier, with a Column =RecordId(), and Row filters:
Exclude unless %FAM.HUSB>NAME% = JS
Exclude unless %FAM.WIFE>NAME% = MJ
OR
Add if %FAM% matches ...of JS and MJ
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
RogerF
Famous
Posts: 182
Joined: 26 Apr 2009 16:32
Family Historian: V6.2
Location: Oxfordshire, England
Contact:

Re: Merging two families

Post by RogerF » 13 Aug 2016 06:48

Thank you, Mike. Problem solved.
Roger Firth, using FH to research the FIRTHs of Lancashire and Yorkshire, and the residents of the market town where I live.

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

Re: Merging two families

Post by tatewise » 13 Aug 2016 11:20

Roger, for the benefit of others with a similar problem, what was your preferred solution?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
RogerF
Famous
Posts: 182
Joined: 26 Apr 2009 16:32
Family Historian: V6.2
Location: Oxfordshire, England
Contact:

Re: Merging two families

Post by RogerF » 13 Aug 2016 19:18

I wrote an Individual query and used the =RecordId(%INDI.FAMS>%) function. Until yesterday, I hadn't realised that functions could be used in a Query, probably because the FH help is so dismissive on this subject.
Roger Firth, using FH to research the FIRTHs of Lancashire and Yorkshire, and the residents of the market town where I live.

Post Reply