Represents the ODBC data access features for defining an SQL statement.
To create a new ODBCQuery object, use New:
Dim variableName As New ODBCQuery
or
Set odbcQuery = New ODBCQuery
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.
See examples