Connection (ODBCResultSet - LotusScript)
Write-only. Relates a connection object with a result set.
Note: This property is new with Release 6.
Defined in
Data type
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:
Set qry.Connection = con
Set result.Query = qry
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)