WinStudio
IWSIDOCollection interface
Returns the number of records in a specified IDO collection. Read-only.
object.GetNumEntries( )
Part |
Description |
| object | Required. A reference to an IDO collection object. |
The return value is an integer indicating the number of records in the IDO collection.
Sub Main()
Dim SubColCache As IWSIDOCollection
Dim i As Integer
SubColCache = ThisForm.Components("LanguageDescGridCol").IDOCollection
For i = 0 To (SubColCache.GetNumEntries() - 1)
SubColCache.SetObjectProperty("LanguageDesc", i, "")
Next i
ThisForm.PrimaryIDOCollection.NotifyDependentsToRefresh("LanguageDesc")
End Sub