From: Alexander P. <ale...@re...> - 2009-01-28 15:22:26
|
Martijn Tonies wrote: >> DBW3 830-820 ENTER SQLGetData >> HSTMT 03232190 >> UWORD 0 >> SWORD -2 <SQL_C_BINARY> >> PTR <unknown type> >> SQLLEN 0 >> SQLLEN * 0x0578FE68 >> >> DBW3 830-820 EXIT SQLGetData with return code -1 >> (SQL_ERROR) >> HSTMT 03232190 >> UWORD 0 >> SWORD -2 <SQL_C_BINARY> >> PTR <unknown type> >> SQLLEN 0 >> SQLLEN * 0x0578FE68 >> >> DIAG [HY009] [Microsoft][ODBC Driver Manager] Invalid argument >> value (0) >> > > In Delphi, I'm using the ODBCExpress components, what would raise > this error? > It is not a driver of RDBMS. The call stack at the level of the Firebird ODBC driver: Preparing statement: select ID_PRECE from "PRECES" order by "ID_PRECE" SQLFreeStmt SQLExecute SQLSetStmtAttrW SQL_ATTR_ROWS_FETCHED_PTR = 65213480 : 03E31428 SQLNumResultCols SQLDescribeColW Column 01 ID_PRECE has type 004, scale 000, precision 010 SQLColAttributeW SQLBindCol SQLColAttributeW SQLSetStmtAttrW SQLFetch SQLSetPos The next step is a call of SQLGetData function, but there are problems (maybe wrong parameters, null pointers) at a upward level (maybe ODBC driver manager). It is similar to problems in access components(ODBCExpress). You can try another components for a work with ODBC (AnyDac free edition, http://da-soft.com for example) too. Alexander |