DataSource Property (ADO)
Indicates an object that contains data to be represented as a Recordset object.
Remarks
This property is used to create data-bound controls with the Data Environment. The Data Environment maintains collections of data (data sources) containing named objects (data members) that will be represented as a Recordset object.
The DataMember and DataSource properties must be used in conjunction.
The object referenced must implement the IDataSource interface and must contain an IRowset interface.
Usage
Dim rs as New ADODB.Recordset
rs.DataMember = "Command" 'Name of the rowset to bind to.
Set rs.DataSource = myDE 'Name of the object containing an IRowset.
Applies To
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om