ClearEntries method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
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.
Syntax
object.ClearEntries( )
Part | Description |
object | Required. A reference to an IDO collection object. |
Remarks
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.
Example
Sub Main() ThisForm.PrimaryIDOCollection.ClearEntries() Application.ShowMessage("Cache cleared.") End Sub