Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

PropertyExists

Use this function to determine whether the specified property exists on the specified object. A return value of 1 means the property exists; a value of 0 means 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:

PROPERTYEXISTS (ObjectVarName.Property)

where:

  • ObjectVarName is the name of the object type variable to search for.
  • Property is the name of the property to verify the existence of.

Syntax example:

Create Variable nExists as NUM

Set Variable nExists = PROPERTYEXISTS("oEmployee.hireDate")

Published:

PropertyExists

Use this function to determine whether the specified property exists on the specified object. A return value of 1 means the property exists; a value of 0 means 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:

PROPERTYEXISTS (ObjectVarName.Property)

where:

  • ObjectVarName is the name of the object type variable to search for.
  • Property is the name of the property to verify the existence of.

Syntax example:

Create Variable nExists as NUM

Set Variable nExists = PROPERTYEXISTS("oEmployee.hireDate")

For an optimal Community experience, Please view on Desktop