Functions (all)
GetResolvedText
- Function Name:
- GetResolvedText
- Description:
- Takes a potentially complex expression, possibly incorporating data
references and/or functions, and resolves them with respect to a
particular record. The expression, which is similar to the kinds of
expressions used in text templates in diagrams, can optionally contain
"{default}". If it does, you can pass in an optional 3rd
parameter that will be substituted for this, before the text is
resolved. If the data references and/or functions used in the
expression do not match the record type of the record, they will not
be resolved.
- Minimum FH Version:
- 8
- No. of Parameters:
- 3
- Return Type:
- Text
- Parameter 1:
- The expression to be resolved.
- Parameter 2:
- A reference to a record data item.
- Parameter 3:
- Optional. Text to be substituted for the code "{default}", if present in the expression in parameter 1.
- Examples:
-
=GetResolvedText("Record found: %INDI% [=RecordId()]", %INDI%)