Functions (all)

AhnentafelNumber

Function Name:
AhnentafelNumber
Description:
This function returns the Ahnentafel number linking a person and his ancestor.
Minimum FH Version:
3
No. of Parameters:
3
Return Type:
Numeric
Parameter 1:
A reference to an Individual
Parameter 2:
A reference to an Individual (a possible ancestor of the first individual).
Parameter 3:
One individual can be an ancestor of another, more than once, and consequently have more than one ahnentafel number for them. This parameter allows you to specify whether the number you want is for the closest relationship binding the 2 people, the 2nd closest relationship, the 3rd closest relationship, or whichever. Use a value of 1, here, to represent the closest relationship, 2 to represent the 2nd closest, and so on.
Examples:

=AhnentafelNumber(["Root"],%INDI%,1)