Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information