Functions (all)

HasFlag

Function Name:
HasFlag
Description:
Returns TRUE if a given record has a given flag.
Minimum FH Version:
3
No. of Parameters:
2
Return Type:
Boolean (True or False)
Parameter 1:
A reference to a Record.
Parameter 2:
The name of the flag.
Examples:

=HasFlag(%INDI%,"Private")

or

=HasFlag(%INDI%,["Select Flag"])

The second example, when used in a query, causes a prompt to be displayed so that you can either type in the flag name, or select it from a dropdown list, when the query is run.