Skip to main content

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")

Was this article helpful?

We're sorry to hear that.