Skip to main content

ATTRIBUTE

Returns the child attribute of an object.

Example Usage

ATTRIB(GeoLocation, Latitude, 0)  // return the Latitude from a GeoLocation field if it exists, else zero

Overview

Function signature
ATTRIBUTE(data, field, default)

Category
Logical

Return data type
None

Arguments

NameDataTypeList Options                          Description
datachilditemThe data object to examine
fieldstringThe child field or attribute to search for within the data object
defaultNoneThe value to return if field cannot be found