RefreshCurrentObject method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Refreshes the current object in a specified IDO collection and returns a Boolean value indicating whether the operation was successful.
Syntax
object.RefreshCurrentObject( )
Part | Description |
object | Required. A reference to a valid IDO collection object. |
Remarks
A return value of:
- TRUE indicates that the current object was refreshed.
- FALSE indicates that the current object was not refreshed.
If the current object is new or altered and you want to preserve the changes, save the object before it is refreshed. If changes to the current object are pending and have not been saved, they are lost when the object is refreshed.
Example
Sub Main() Dim bValue As Boolean bValue = ThisForm.PrimaryIDOCollection.RefreshCurrentObject() End Sub