Hi,

I use maxdb 7.5.0.16 with the odbc75-driver on win32.

I do an :

SQLPrepare(hstmt, (SQLTCHAR*)"UPDATE testtable SET myobject = ? where id = 
4711", SQL_NTS);
SQLExecute(hstmt);
SQLPutData(...)

the result is :

case 1. ( a suitable row was found)
 - SQLExecute returns SQL_NEED_DATA
 - SQLPutData runs successfully
 - ok

case 2. ( no suitable row was found) // here is the problem
 - SQLExecute returns SQL_NEED_DATA ( in contrast to odbc-reference where 
SQLExecute should return SQL_NO_DATA if there is no suitable row)
 - SQLPutData is unsuccessfull


How can I do such tasks with maxdb ?

Best regards

tom

Reply via email to