IsCollectionModified method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether the specified IDO collection object's data has been modified.

Syntax

object.IsCollectionModified( )

  Part   Description
object Required. The name of a valid IDO collection object.

Remarks

A return value of:

  • TRUE indicates the object has been modified.
  • FALSE indicates the object has not been modified.

Example

Sub Main()
   Dim subCol As IWSIDOCollection
   subCol = ThisForm.PrimaryIDOCollection()
         
   If subCol.IsCollectionModified() Then
      Application.ShowMessage("The primary collection has been modified without saving.")
   Else
      Application.ShowMessage("The collection has not been modified.")
   End If
End Sub