* Estimated Alive Query at - with extra parameters

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
Hanning
Diamond
Posts: 84
Joined: 29 Jul 2015 06:29
Family Historian: V7
Location: Pirongia, New Zealand
Contact:

Estimated Alive Query at - with extra parameters

Post by Hanning » 13 Apr 2020 03:25

I would like to amend the existing standard query to show all those with a defined name (surname and/or first name) are likely to have been alive in a certain year. This is mainly for individuals with only baptism or burial dates. eg I want to know which individuals named John Snell are likely to have been alive in 1709 with any approx ages. The only thing I've managed to achieve is a parameter box asking for the surname and first name, but the results are not related to that at all! I do understand that the estimated functions have their limitations but I would like to be able to try it and see if it will work. Can anyone help me please?
Marlene
Researching Snell and Harris in Devon, Rooks in Cambridgeshire, Barton & Parker in Kent, Harley in Fife

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Estimated Alive Query at - with extra parameters

Post by Jane » 13 Apr 2020 07:52

It's important to look through the filters you have applied. So to filter to a surname you should be using Exclude Unless for both prompts assuming they are following the original ones.

If you post a screenshot of the rows tab we might be able to spot what you have done.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Hanning
Diamond
Posts: 84
Joined: 29 Jul 2015 06:29
Family Historian: V7
Location: Pirongia, New Zealand
Contact:

Re: Estimated Alive Query at - with extra parameters

Post by Hanning » 13 Apr 2020 20:08

Query2.png
Query2.png (14.37 KiB) Viewed 3748 times
Query1.png
Query1.png (8.84 KiB) Viewed 3748 times
Marlene
Researching Snell and Harris in Devon, Rooks in Cambridgeshire, Barton & Parker in Kent, Harley in Fife

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

Re: Estimated Alive Query at - with extra parameters

Post by tatewise » 13 Apr 2020 21:17

Marlene, you need to think about how the Filters are applied in order.

Your new first two will exclude records unless they meet the name criteria.
But the next three will add records that meet the EstimatedBirthDate criteria regardless of names! So undo everything.
The last two will exclude records that meet their criteria.

The original four Add if and Exclude if date filters yield the desired alive at date subset of records.

You need to move your two Exclude unless filters to after those four original filters.
Then any records that don't meet the name criteria will be excluded from that alive at date subset of records.

You should not need the Exclude if the surname is null.

Remember that Add if/unless filters will add from the entire database of records any that meet criteria.
Whereas, Exclude if/unless filters will remove from the current filtered subset of records.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Hanning
Diamond
Posts: 84
Joined: 29 Jul 2015 06:29
Family Historian: V7
Location: Pirongia, New Zealand
Contact:

Re: Estimated Alive Query at - with extra parameters

Post by Hanning » 13 Apr 2020 22:26

Thanks so much Mike - I will work on that.
Can you also point me to a resource that explains the structure of functions such as the EstimatedAgeAt etc? I was looking for an explanation of the parts between the ()
Marlene
Researching Snell and Harris in Devon, Rooks in Cambridgeshire, Barton & Parker in Kent, Harley in Fife

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

Re: Estimated Alive Query at - with extra parameters

Post by tatewise » 13 Apr 2020 23:06

Yes, see how_to:understanding_functions|> Understanding Functions that has references to FH Help and some tips.
The FH Help explains every Function its ( parameters ) and how it operates.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Hanning
Diamond
Posts: 84
Joined: 29 Jul 2015 06:29
Family Historian: V7
Location: Pirongia, New Zealand
Contact:

Re: Estimated Alive Query at - with extra parameters

Post by Hanning » 13 Apr 2020 23:10

Thanks Mike - I had looked but not found the specific page - obviously not looking thoroughly enough!
Marlene
Researching Snell and Harris in Devon, Rooks in Cambridgeshire, Barton & Parker in Kent, Harley in Fife

Post Reply