WinStudio

New Method

Applies To

IWSIDOCollection interface

Definition

Inserts a new object into a specified IDO collection and returns a Boolean value indicating whether this operation was successful.

Syntax

object.New( )

  Part

  Description

object Required. A reference to a valid IDO collection object.

Remarks

A return value of:

Example

Sub Main()
   If (ThisForm.PrimaryIDOCollection.GetNumEntries() > 1 And _
      (Not ThisForm.PrimaryIDOCollection.IsCurrentObjectTheAutoInsertRow())) Then
       ThisForm.PrimaryIDOCollection.New()
   End If
End Sub