openConnection method

Opens a connection to the database specified by parms.

Syntax
Connection openConnection( String parms)
Parameters
  • parms   A String holding the parameters for opening a connection as a set of keyword=value pairs. Parameter keywords are case-insensitive, and most values are case-sensitive.

Returns

An opened connection.

Remarks

If the database does not exist, an error is thrown. You can check Connection.sqlCode within the error catching code to identify the cause of the error.

Only one database may be active at a given time. Attempts to open a connection to different database while other connections are open result in an error.