WinStudio
IWSIDOCollection interface
Refreshes a specified IDO collection, sets as the current object the object that was current before the refresh, and returns a Boolean value indicating whether the operation was successful.
object.RefreshKeepCurIndex( )
Part |
Description |
object | Required. A reference to a valid IDO collection object. |
A return value of:
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.
Sub Main() Dim bValue As Boolean bValue = ThisForm.PrimaryIDOCollection.RefreshKeepCurIndex() End Sub