Functions (all)

GetContextInfo

Function Name:
GetContextInfo
Description:
Returns information which is relevant to the current context of use.
Minimum FH Version:
6
No. of Parameters:
1
Return Type:
Text
Parameter 1:

Value that determines the kind of information required.  This information will only be available in the specified contexts of use.  In all other contexts, an empty string will be returned.  Although designed to support different possible uses, there is currently only one:

DGM_MARR_INSTANCE
There are several options that control the display of marriage and spouse information in Family Historian diagrams.  You can, for example, opt to display 'remarriage' boxes for Individuals who marry more than once.  Instead of repeating the Individual's name in these remarriage boxes, it may look better to simply indicate by a number, which marriage the box refers to.  Use the GetContextInfo function, with the DGM_MARR_INSTANCE option, to display the appropriate marriage number.  Is only applicable to remarriage boxes in diagrams.
Examples:

=GetContextInfo(DGM_MARR_INSTANCE)