Skip to main content

Attribute

Use this function to determine whether the specified attribute exists in the database. A return value of 1 means the attribute exists in the system; a value of 0 means that it does not.

Note: If you create a variable to store the return value for this function, you must create the variable with the NUM type.

Syntax:

ATTRIBUTEEXISTS ("AttrClass", "AttrName")

where:

  • AttrClass is the attribute class that contains the attribute to search for.
  • AttrName is the name of the attribute, enclosed in double quotation marks.

Syntax example:

AttributeExists("SYSTEM", "AZGPCurrentPeriodPAC")

Was this article helpful?

We're sorry to hear that.