LOTUS CONNECTORS


Connection property
Example

Write-only. Relates a connection object with a result set.

Note This property is new with Release 6.

Defined In

ODBCResultSet

Data type

ODBCConnection

Syntax

Set odbcResultSet.Connection = odbcConnection

Usage

You must link a connection object with a result set before getting results. You can establish the connection through the Query property after connecting an ODBCQuery object through its Connection property, for example:


This property eliminates the go-between when you don't need an ODBCQuery object, for example, when executing a stored procedure.

Errors

No valid connection object (DBstsNCOJ)

Example