MDAC 2.5 SDK - ADO


 

Recordset, SourceRecordset Properties (RDS)

See Also    Example    Applies To

Indicates the Recordset object returned from a custom business object.

Syntax

DataControl.SourceRecordset = Recordset

Recordset = DataControl.Recordset

Parameters

DataControl   An object variable that represents an RDS.DataControl object.

Recordset   An object variable that represents a Recordset object.

Remarks

You can set the SourceRecordset property to a Recordset returned from a custom business object.

These properties allow an application to handle the binding process by means of a custom process. They receive a rowset wrapped in a Recordset so that you can interact directly with the Recordset, performing actions such as setting properties or iterating through the Recordset.

You can set the SourceRecordset property or read the Recordset property at run time in scripting code.

SourceRecordset is a write-only property, in contrast to the Recordset property, which is a read-only property.