A.4. Data Bindings Objects (VB6 only)

A.4.1. BindingCollection Object

Add Method

Creates a binding between a control and a data field

Clear Method

Removes all binding objects from the collection

Count Property

Returns the number of Binding objects in the collection

DataMember Property

Returns or sets the data member to provide the data

DataSource Property

Returns or sets the object that will be the source of the data

Item Property

Returns the Binding object associated with a specified key

Remove Method

Removes a single Binding object from the collection

UpdateMode Property

Returns or sets the type of update to be performed

A.4.2. Binding Object

DataChanged Property

Returns True if the data has changed

DataField Property

Returns or sets the data field providing the data

DataFormat Property

Returns or sets a DataFormat object to provide formatting for the data

Key Property

Returns the key value used to add the Binding object to the collection

Object Property

Returns or sets a reference to the object providing the data

PropertyName Property

Returns or sets the name of the property within the control that will consume the data

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.