The SourceRecordset and Recordset properties of the RDS.DataControl indicate the ADOR.Recordset object that is returned from a custom business object.
You can set the SourceRecordset property or read the Recordset property at run time in scripting code (for instance, VBScript).
Syntax
DataControl.SourceRecordset = Recordset
DataControl.Recordset
Part | Description |
DataControl | An object variable that represents an RDS.DataControl object. |
Recordset | An object variable that represents an ADOR.Recordset object. |
Applies To
Remarks
SourceRecordset is a write-only property, in contrast to the Recordset property, which is a read-only property.
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.
See Also
Defining a Recordset, Query Method, CreateRecordset Method, Getting a Recordset with the RDS.DataControl Object, Getting a Recordset to the Client
© 1997 Microsoft Corporation. All rights reserved. |