IsPropertyRequired method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Returns a Boolean value indicating whether an object property has the Required attribute set in the IDO.
Syntax
object.IsPropertyRequired( 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 has the Required attribute set in the IDO.
- FALSE indicates that the object property does not have the Required attribute in the IDO.
Example
Sub Main()
Dim bIsRequired As Boolean
If ThisForm.PrimaryIDOCollection.IsPropertyRequired("AccountNo") Then
bIsRequired = True
End If
End Sub