IsPropertyIdentity method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether an object property in a specified IDO collection is the Identity attribute that uniquely identifies the row in the application database table.

Syntax

object.IsPropertyIdentity( string )

  Part   Description
object Required. A reference to a valid IDO collection object.
string Required. The name of the object property.

Remarks

A return value of:

  • TRUE indicates that the object property is the Identity attribute in the application database table.
  • FALSE indicates that the object property is not the Identity attribute.

Example

Dim bIsIdentity As Boolean
If ThisForm.PrimaryIDOCollection.IsPropertyIdentity("AccountNo") Then
    bIsIdentity = TRUE
End If