Recordset Property
CreateRecordset Method
DataFactory Query Method
PROPERTY: DataControl::SourceRecordset
Set
datacontrolobject.
SourceRecordset
=
recordsetobject
The
SourceRecordset
property is used to set the
Recordset
to the
DataControl
object so that it becomes a data source for that
DataControl
object.
In comparison, the
Recordset
property returns the
Recordset
object that is the result of your query or, more precisely, returns the
Recordset
object underlying the
DataControl
object.
The
SourceRecordset
property is write-only. The
Recordset
property is read-only.
Code (VBScript):
Set objDataControl.
SourceRecordset
= rsGuru
...
Set objDCRecordset = objDataControl.Recordset
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information