Attribute Function

Attribute Function

Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
The specified attribute of the named variable, returned as a text value.
Returns:
Text
Parameters:
Parameter
Data Type
Description
1
Any
The name of the variable.
2
Text
A text value specifying the name of the attribute.
Examples:
When using functions inside a field, remember the field brackets:
{Attribute(VariableName, "Prompt")}
Expression
Result
Attribute( ClientName, "Prompt" )
"Enter the client's name"
Attribute( ClientAddress, "prompt" ) where ClientName Is "Jane Doe"
"Enter Jane Doe's address"
Attribute( ClientAddress, "prompt" ) where ClientName is unknown
"Enter {ClientName}'s address"