Functions (all)

GetDisplayText

Function Name:
GetDisplayText
Description:
Returns a short string of text that is suitable to be used as a representation for the item in question (in lists and elsewhere).
Minimum FH Version:
6
No. of Parameters:
2
Return Type:
Text
Parameter 1:
A reference to a data item.
Parameter 2:

This parameter can be used to modify the behaviour of the function.

std
The default
min
For many data items, the text will be returned will be the same as for 'std'. However, there are some differences. For attributes, the attribute value (alone) will be returned (for 'std', the attribute label, and any date or place information would also be included). For places, dates, flags, and various other value types, if 'min' is set, the value only is returned. If 'std' is set, a label will be included..
Examples:

=GetDisplayText(%FACT%, STD)