* age at marriage on chart

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
jbrooks
Famous
Posts: 130
Joined: 20 Jan 2009 23:13
Family Historian: V6.2
Location: UK

age at marriage on chart

Post by jbrooks » 27 Jul 2016 20:31

I have a chart displaying age at marriage as not expected and picture below.

The expressions I have for marriage are as below and have been cloned from a standard text scheme with no changes:-

The cloned expressions are:

=ExistsText(%CUR~FAMS>MARR%,"Marr:") %CUR~FAMS>MARR.DATE:COMPACT% in %CUR~FAMS>MARR.PLAC:TIDY%

His age: %CUR~FAMS>MARR.DATE:HUSBAND_AGE_AT%

Her age: %CUR~FAMS>MARR.DATE:WIFE_AGE_AT%

%CUR~FAMS>MARR.NOTE2%

Spouse: %CUR~SPOU>NAME:FULL%

I will post Eliza mar events next as maximum of 3 attachments
hw marriage on chart.JPG
hw marriage on chart.JPG (29.24 KiB) Viewed 4466 times
marriage text schemes.JPG
marriage text schemes.JPG (31.44 KiB) Viewed 4466 times
charles marriage event.JPG
charles marriage event.JPG (130.4 KiB) Viewed 4466 times

User avatar
jbrooks
Famous
Posts: 130
Joined: 20 Jan 2009 23:13
Family Historian: V6.2
Location: UK

Re: age at marriage on chart

Post by jbrooks » 27 Jul 2016 20:32

and her mar event:-
Eliza marriage event.JPG
Eliza marriage event.JPG (121.44 KiB) Viewed 4465 times

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

Re: age at marriage on chart

Post by tatewise » 27 Jul 2016 20:51

The problem is caused by:
His age: %CUR~FAMS>MARR.DATE:HUSBAND_AGE_AT%
Her age: %CUR~FAMS>MARR.DATE:WIFE_AGE_AT%
Those calculate the Age At Marriage by using the Birth Date and the Marriage Date.

I presume you want the actual Age values recorded in the Marriage Event:
His age: %CUR~FAMS>MARR.HUSB.AGE%
Her age: %CUR~FAMS>MARR.WIFE.AGE%

Family facts such as Marriage and Divorce are unusual because they have two Age fields HUSB.AGE and WIFE.AGE.

However, the concepts apply generally to Individual facts as well:
One calculates Age At using Date fields, e.g. %INDI.DEAT.DATE:AGE_AT%
The other displays explicit fact Age field, e.g. %INDI.DEAT.AGE%
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
jbrooks
Famous
Posts: 130
Joined: 20 Jan 2009 23:13
Family Historian: V6.2
Location: UK

Re: age at marriage on chart

Post by jbrooks » 27 Jul 2016 21:21

Thanks Mike,

I have gone for

%CUR~FAMS>MARR.HUSB%
%CUR~FAMS>MARR.WIFE%

Otherwise I get two "his age" and two "her age".

Would be nice to swap husband and wife names for actual names although I can go with the current solution.e.g. Charles age 24.

Perfect.
marriage actual ages.JPG
marriage actual ages.JPG (30.28 KiB) Viewed 4458 times

User avatar
jbrooks
Famous
Posts: 130
Joined: 20 Jan 2009 23:13
Family Historian: V6.2
Location: UK

Re: age at marriage on chart

Post by jbrooks » 27 Jul 2016 21:24

Charles is the spouse.

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

Re: age at marriage on chart

Post by tatewise » 27 Jul 2016 22:00

Age of %CUR~FAMS>HUSB>NAME:FIRST%: %CUR~FAMS>MARR.HUSB.AGE%
Should display Age of Charles: 24 yrs

Age of %CUR~FAMS>WIFE>NAME:FIRST%: %CUR~FAMS>MARR.WIFE.AGE%
Should display Age of Hannah: 20 yrs

BTW: I forgot to add the AGE tag to the examples earlier, which is why you got His age: Husband's Age:, but now corrected.

BUT what if there is no actual Age recorded?
It should revert to the Age At calculations so use:

Age of %CUR~FAMS>HUSB>NAME:FIRST%: =CombineText( ,%CUR~FAMS>MARR.HUSB.AGE%, ,%CUR~FAMS>MARR.DATE:HUSBAND_AGE_AT%)

Age of %CUR~FAMS>WIFE>NAME:FIRST%: =CombineText( ,%CUR~FAMS>MARR.WIFE.AGE%, ,%CUR~FAMS>MARR.DATE:WIFE_AGE_AT%)
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
jbrooks
Famous
Posts: 130
Joined: 20 Jan 2009 23:13
Family Historian: V6.2
Location: UK

Re: age at marriage on chart

Post by jbrooks » 27 Jul 2016 22:27

Thanks Mike looking good as per picture below. I guess if I tweak NAME:FIRST%: then more of the names would be displayed. That is for another day.

Kind regards Jonathan.
ages and names displayed.JPG
ages and names displayed.JPG (30.32 KiB) Viewed 4445 times

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

Re: age at marriage on chart

Post by tatewise » 27 Jul 2016 22:39

Yes, you could use any of the NAME qualifiers such as:
NAME:GIVEN_ALL gives all forenames
NAME:FULL gives forenames and surname

There is actually a simplification of the last two expressions I gave:

Age of %CUR~FAMS>HUSB>NAME:FIRST%: =EstimatedAgeAt(%CUR~FAMS>HUSB>%,%CUR~FAMS>MARR.DATE%,AVG,2) yrs

Age of %CUR~FAMS>WIFE>NAME:FIRST%: =EstimatedAgeAt(%CUR~FAMS>WIFE>%,%CUR~FAMS>MARR.DATE%,AVG,2) yrs

The =EstimatedAgeAt(...) function automatically uses the actual Age field, but if that is missing it uses the Age At calculation.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply