* =AgeAt - fixed value in query

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
avatar
quarlton
Famous
Posts: 150
Joined: 26 Feb 2004 13:07
Family Historian: V7
Location: Lincolnshire
Contact:

=AgeAt - fixed value in query

Post by quarlton » 13 May 2016 11:46

Hi

Is it possible to use AgeAt in a query with a fixed value rather than having it prompt.

e.g. =AgeAt(%INDI%, 1960)

I know it's not a major issue, but it would be nice.


Thanks
Dave Simpson ~ Boulton, Braham, Carney, Simpson and Jacobs

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

Re: =AgeAt - fixed value in query

Post by tatewise » 13 May 2016 13:20

Yes, use the =DateAt() function to specify the Date.
e.g.
=AgeAt(%INDI%,DateAt(1960,0,0))

i.e. Year=1960, Month=0 means none, Day=0 mean none
or Year=1960, Month=5 means May, Day=13 means 13th.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
quarlton
Famous
Posts: 150
Joined: 26 Feb 2004 13:07
Family Historian: V7
Location: Lincolnshire
Contact:

Re: =AgeAt - fixed value in query

Post by quarlton » 13 May 2016 16:15

Many thanks Mike, worked a treat.
Dave Simpson ~ Boulton, Braham, Carney, Simpson and Jacobs

Post Reply