Hey guys...

I'm using the Mac 64 bit driver and trying to retrieve the results row count 
for basic fetch. The code I'm using works with other ODBC drivers, including 
MySQL and SQLite (yes, there's an ODBC driver for that...) However, in Firebird 
it always returns -1.

Here's the code, for what it's worth.

if (!SQL_SUCCEEDED(SQLRowCount(odbcStmt, (SQLLEN *)&rowCount))) { rowCount = 0; 
} 

Note that the driver is returning -1, not an error.

Any ideas on why this might happen?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Firebird-odbc-devel mailing list
Firebird-odbc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel

Reply via email to