WinStudio
IWSIDOCollection interface
Saves the current object in a collection but does not perform subsequent operations that WinStudio normally performs after a save (see "Remarks" below). Returns a Boolean value indicating whether the object was saved successfully.
object.SaveCurrentDeferStateUpdate( )
Part |
Description |
object | Required. A reference to a valid IDO collection object. |
A return value of:
This method is designed to be used in conjunction with the UpdateCurrentStatePostSave method. The operation of the two methods on the current object in a collection is similar to the operation of the SaveDeferStateUpdate method and the UpdateStatesPostSave method on all objects in a collection.
Sub Main() Dim bSuccess As Boolean Dim ReturnValue As String bSuccess = ThisForm.CurrentIDOCollection.SaveCurrentDeferStateUpdate() If (bSuccess) Then End If If (bSuccess) Then ThisForm.CurrentIDOCollection.UpdateCurrentStatePostSave() Else End If ReturnValue = "-1" End Sub