Delete method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Marks the current record in the specified IDO collection as deleted and returns a Boolean value indicating whether the operation was successful.

Syntax

object.Delete( )

  Part   Description
object Required. A reference to an IDO collection object.

Remarks

The return value:

  • TRUE indicates the object is marked as deleted.
  • FALSE indicates the object is not marked as deleted.

The actual deletion does not take place until the IDO collection data is saved. If the current object is marked for deletion already, this method unmarks it.

Example

Sub Main()
   ThisForm.PrimaryIDOCollection.Delete()
End Sub