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
Connect Property
DataFactory Object
DataControl Object
METHOD: DataFactory::Query
Set
recordsetobject
=
datafactoryobject.
Query
(ConnectionString, QueryString)
The
Query
method executes a valid SQL query string and returns the resultant
Recordset
object. The query string must use the type (dialect) of SQL that is recognized by the provider. This method does not perform a syntax check on the query string.
There are two mandatory parameters.
The
ConnectionString
parameter is a string that contains the details of the server connection information.
The
QueryString
parameter is a string that contains the SQL query.
Code (VBScript):
Set objDataFactory = objRDS.CreateObject("RDSServer.DataFactory", strConnURL)
...
Dim objRecordset
Set objRecordset = objDataFactory.
Query
(strConnection, strQuery)
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information