According to the microsoft web site, SQLFetch should update the variable SQL_ATTR_ROWS_FETCHED_PTR with the number of rows fetched.
A fairly simple change to results.c, line 657 if (stmt->stmt_options.rowsFetchedPtr) *stmt->stmt_options.rowsFetchedPtr= 1; fixes this. Thanks, Laramie --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php