WinStudio
IWSIDOCollection interface
Empties all rows in a specified IDO collection including any autoinsert row, retaining property and binding information, and resetting the number of entries in the collection to 0.
object.ClearEntries( )
Part |
Description |
| object | Required. A reference to an IDO collection object. |
This method should normally be used to clear a collection because it retains the collection object's property and binding information. The Clear method removes this information.
Sub Main()
ThisForm.PrimaryIDOCollection.ClearEntries()
Application.ShowMessage("Cache cleared.")
End Sub