Connect Property
SQL Property
SubmitChanges Method
DataControl Object
PROPERTY: DataControl::Server
string =
datacontrolobject.
Server
datacontrolobject.
Server
= string
The
Server
property gives the Web server location where the queries and updates for the
DataControl
object are processed. This can be the HTTP or HTTPS URL, the name of the machine (computer) for DCOM, or the empty string "" which signifies local in-process.
You must use the
Connect
property to designate the server where your data source is stored.
You can create a form on a Web page to input values for the various
DataControl
properties and use
Request.Form( )
to assign the values:
Code (VBScript):
objDC.ExecuteOptions = Request.Form("ExecuteOptions")
objDC.FetchOptions = Request.Form("FetchOptions")
objDC.InternetTimeout = Request.Form("InternetTimeout")
objDC.
Server
= Request.Form("Server.Value")
objDC.SourceRecordset = Request.Form("SourceRecordset")
objDC.SQL = Request.Form("SQL")
objDC.URL = Request.Form("URL")
objDC.Connect = Request.Form("Connect")
objDC.Refresh
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information