Connect Property (RDS)

           

Sets or returns the database name from which the query and update operations are run.

You can set the Connect property at design time in the RDS.DataControl object's OBJECT tags, or at run time in scripting code (for instance, VBScript).

Syntax

Design time: <PARAM NAME="Connect" VALUE="DSN=DSNName;UID=usr;PWD=pw;">

Run time: DataControl.Connect = "DSN=DSNName;UID=usr;PWD=pw;"

Parameters

DSNName   A String that specifies the system data source name that identifies a specific database.

usr   A String that represents a valid user account on the server.

pw   A String that represents a valid password for the user account.

DataControl   An object variable that represents an RDS.DataControl object.