* Query for multiple fact types
Query for multiple fact types
Some of my individuals have multiple facts of the same type. How could I identify them by modifying say the All Facts Standard Query by adding an additional column?
I only want to show those individuals with multiple facts of the same type.
Thanks,
Graham
I only want to show those individuals with multiple facts of the same type.
Thanks,
Graham
- tatewise
- Megastar
- Posts: 27079
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Query for multiple fact types
Don't add Columns, but use a Row filter.
You need to only add rows where the Owner of current Fact has a similar Fact with a 2nd instance.
I will look at the Expression details tomorrow.
Why do you need to find these Individuals?
You need to only add rows where the Owner of current Fact has a similar Fact with a 2nd instance.
I will look at the Expression details tomorrow.
Why do you need to find these Individuals?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: Query for multiple fact types
I found this in my Plugin list originally written by Chris Searl
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
Re: Query for multiple fact types
Thanks I will give the plug in a try. I have merged some individuals from another file and a few have multiple facts the same e.g births with different sources but I need to review as some should be combined or transferred to a christening.
I will look out for Mike's "Row" tip too.
Thanks
Graham
I will look out for Mike's "Row" tip too.
Thanks
Graham
- tatewise
- Megastar
- Posts: 27079
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Query for multiple fact types
Unfortunately, the Query Row filter is not feasible.
Also, that ID Repeated Facts Plugin does not work correctly and lists many non-duplicated facts.
Try the attached Duplicated Facts Plugin. It is a bit rough round the edges but seems to do the job.
Also, that ID Repeated Facts Plugin does not work correctly and lists many non-duplicated facts.
Try the attached Duplicated Facts Plugin. It is a bit rough round the edges but seems to do the job.
- Attachments
-
Duplicated Facts.fh_lua- Version 0.1 Date 07 Jul 2017
- (1.84 KiB) Downloaded 194 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
David Potter
- Megastar
- Posts: 957
- Joined: 22 Jun 2016 15:54
- Family Historian: V7
- Location: United Kingdom
Re: Query for multiple fact types
Hi Mike
I thought I would give that Plug-In a try too. The Plug-In does find multiple Facts of the same Type but ignores the date for the these facts, therefore they are not actually true Duplicates.
Can that be solved?
Thanks
I thought I would give that Plug-In a try too. The Plug-In does find multiple Facts of the same Type but ignores the date for the these facts, therefore they are not actually true Duplicates.
Can that be solved?
Thanks
- tatewise
- Megastar
- Posts: 27079
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Query for multiple fact types
David, if you mean my Duplicated Facts Plugin, then that is deliberate, because Graham is looking for Facts that did not Merge when importing another Gedcom, so the Dates might not be identical.
I have another Plugin that checks for fully duplicated Facts and relies on them being adjacent as they have the same Date.
It also checks that other fields are identical: Place, Address, Age, Cause, Note, 1st Citation, Entry Date & Assessment, but those are not all the possible subsidiary fields and citations.
That can easily be edited to omit or add the checks for whatever fields you like.
So it depends on your definition of true duplicates.
I have another Plugin that checks for fully duplicated Facts and relies on them being adjacent as they have the same Date.
It also checks that other fields are identical: Place, Address, Age, Cause, Note, 1st Citation, Entry Date & Assessment, but those are not all the possible subsidiary fields and citations.
That can easily be edited to omit or add the checks for whatever fields you like.
So it depends on your definition of true duplicates.
- Attachments
-
Duplicate Facts.fh_lua- Version 1.3 Date 23 March 2013
- (2.18 KiB) Downloaded 182 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Query for multiple fact types
I would like to keep these different dates as some are differences between birth and christening dates!
- tatewise
- Megastar
- Posts: 27079
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Query for multiple fact types
Graham, you can keep whatever you want.
Are you using the Duplicated Facts Plugin Version 0.1 Date 07 Jul 2017 that I posted first?
Are you using the Duplicated Facts Plugin Version 0.1 Date 07 Jul 2017 that I posted first?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Query for multiple fact types
Not yet, I expect to test this evening.
Thanks
Graham
Thanks
Graham
-
David Potter
- Megastar
- Posts: 957
- Joined: 22 Jun 2016 15:54
- Family Historian: V7
- Location: United Kingdom
Re: Query for multiple fact types
Hi Mike
Yes - of course depends on your definition. No worries Plug-In's are out of my depth. Still getting used to using/editing queries.
Thanks for the reply.
Yes - of course depends on your definition. No worries Plug-In's are out of my depth. Still getting used to using/editing queries.
Thanks for the reply.
Re: Query for multiple fact types
Mike, Duplicate Facts.fh_lua works well for me. It gets me to the individuals I need to investigate.
Thanks,
Graham
Thanks,
Graham