Microsoft Remote Data ServiceMicrosoft Remote Data Service*
*Contents  *Index  *Topic Contents

Recordset, SourceRecordset Properties

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
PartDescription
DataControlAn object variable that represents an RDS.DataControl object.
RecordsetAn object variable that represents an ADOR.Recordset object.

Applies To

RDS.DataControl

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.

Example

See Also

Defining a Recordset, Query Method, CreateRecordset Method, Getting a Recordset with the RDS.DataControl Object, Getting a Recordset to the Client


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.