Hi Chris

You may have got something back previously but SQLSTMTATTRIB_ROWCOUNT is only for use with INSERT, UPDATE and DELETE as far as I am aware. It's basically the "rows affected" count not the rows returned from a SELECT as far as I am aware