Refresh method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Refreshes a specified IDO collection, makes the first object in the collection the current object, and returns a Boolean value indicating whether the operation was successful.

Syntax

object.Refresh( )

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

Remarks

A return value of:

  • TRUE indicates that the collection was refreshed.
  • FALSE indicates that the collection was not refreshed.

If the collection contains new or altered objects that you want to preserve, save the objects before the collection is refreshed. If changes to objects in the collection are pending and have not been saved, they are lost when the collection is refreshed.

Example

Sub Main()
   Dim bValue As Boolean
   bValue = ThisForm.PrimaryIDOCollection.Refresh()
End Sub