WinStudio

IsPropertyKey Method

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether an object property in a specified IDO collection is the Key attribute set in the IDO.

Syntax

object.IsPropertyKey( 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:

Example

Dim bIsKey As Boolean
If ThisForm.PrimaryIDOCollection.IsPropertyKey("AccountNo") Then
    bIsKey = TRUE
End If