title: ODBC Error "invalid Transaction State"
body: <p>I am using odbc 3.0 with Informix and I receive the error "Invalid Transaction State" when attempting to sqldisconnect.  The beginwork and commit/rollback are in a while loop and all the tranactions work as desired (data is saved correctly); I just get the disconnect error.  What is funny is that, if I do one commit/rollback outside the while loop, the data is still saved as desired but I do not get this error.  It appears that doing a fetch on the data when there are no rows left is what is causing the issue.</p>
  
  <p>Any ideas or thoughts?</p>
  
  <p>Thanks in Advance</p>