> My guess is, that in your environment, Qt runs the driver in ODBC 2.x
> and asks for supporting SQLFetchScroll via SQLGetFunctions. The
> driver, actually having SQLFetchScroll, answers no, since it runs in
> ODBC 2.x.
This seems to be the case. Excerpt from
$QTDIR/src/sql/drivers/odbc/qsql_odbc.cpp:
r = SQLSetEnvAttr( d->hEnv,
SQL_ATTR_ODBC_VERSION,
(SQLPOINTER)SQL_OV_ODBC2,
SQL_IS_UINTEGER );
and then checkDriver() checks for the availability of this functions:
SQL_API_SQLDESCRIBECOL
SQL_API_SQLGETDATA
SQL_API_SQLCOLUMNS,
SQL_API_SQLGETSTMTATTR
SQL_API_SQLGETDIAGREC
SQL_API_SQLEXECDIRECT,
SQL_API_SQLGETINFO
SQL_API_SQLTABLES
SQL_API_SQLPRIMARYKEYS
... and when it comes to SQL_API_SQLGETSTMTATTR it bails out.
I'll try and either disable the checks or switch it to ODBC3...
--
MN-Logistik GmbH http://www.mn-logistik.de
Holger Schurig Network Administrator
Dieselstr. 18
61191 Rosbach v.d.H�he
Tel: 06003/9141-0 Fax: 06003/9141-49
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general