Database Objects
Hi-Integrity Systems
HomeVB6 Documentation › IDatabaseObjects.Subset

IDatabaseObjects

IDatabaseObjects_Subset As SQLConditions

This function should return the conditions that define the collection's subset. If the collection should include the entire table then this function should be left blank. Implementing this function is optional.

'OrderDetails class Private Function IDatabaseObjects_Subset() As Dbo.SQLConditions Set IDatabaseObjects_Subset = New SQLConditions 'Only include detail records where the OrderID equals the parent OrderID IDatabaseObjects_Subset.Add "OrderID", dboComparisonEqualTo, plngParentOrderID End Function

This interface function/property is utilised by the following functions:
Object, ObjectSave, ObjectByOrdinalFirst, ObjectByOrdinal, ObjectByKey, ObjectExists, ObjectDelete, ObjectsDeleteAll, ObjectsCount, ObjectsSearch, ObjectsCollection