WinStudio
IWSIDOCollection interface
Inserts a new object into a specified IDO collection and returns a Boolean value indicating whether this operation was successful.
object.New( )
Part |
Description |
object | Required. A reference to a valid IDO collection object. |
A return value of:
Sub Main() If (ThisForm.PrimaryIDOCollection.GetNumEntries() > 1 And _ (Not ThisForm.PrimaryIDOCollection.IsCurrentObjectTheAutoInsertRow())) Then ThisForm.PrimaryIDOCollection.New() End If End Sub