編輯

共用方式為


Recordset, SourceRecordset properties (RDS)

Applies to: Access 2013, Office 2013

Indicates the Recordset object returned from a custom business object.

Syntax

DataControl.SourceRecordset = Recordset

Recordset = DataControl.Recordset

Parameters

Parameter Description
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.