ADO » Recordset » DataSource

Syntax:
Set object = recordsetobject.DataSource
Set recordsetobject.DataSource = object

Specifies the object containing the data member that will be represented as a Recordset object.

The DataSource property is used to create data-bound controls with the Data Environment in Visual Basic 6. It sets or returns an object that contains data that can be represented as a Recordset object. This property must be used in conjunction with the DataMember property.

For a full explanation, please refer to the Microsoft documentation on Visual Basic 6.

See Also: