Database Objects
Hi-Integrity Systems
HomeVB6 Documentation › DBO.ObjectsCount

DatabaseObjects

ObjectsCount(ByVal objCollection As IDatabaseObjects) As Long

ObjectsCount returns the number of items in the collection. If the collection's IDatabaseObjects_Subset has been implemented then ObjectsCount will return the number of records within the subset not the entire table.

'Print the number of objects/records in the products table Print "Products: " & DBO.ObjectsCount(objGlobalProductsInstance)