ODBCQuery (LotusScript)

Represents the ODBC data access features for defining an SQL statement.

Properties

Connection

QueryExecuteTimeOut

SQL

UseRowID

Methods

GetError

GetErrorMessage

GetExtendedErrorMessage

Creation and Access

To create a new ODBCQuery object, use New:

Dim variableName As New ODBCQuery

or

Set odbcQuery = New ODBCQuery

Usage

Before using a query, use the Connection property of ODBCQuery to associate the query with an ODBCConnection object. Before using a query with a result set, use the Query property of ODBCResultSet to associate the query with the ODBCResultSet object.

Example