File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Invalid cursor state Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC
Bookmark "Invalid cursor state" Watch "Invalid cursor state" New topic

Invalid cursor state

jan frank

Joined: Jul 31, 2005
Posts: 5

Any suggestions & solutions about this elusive error message? [Microsoft][ODBC Driver Manager] Invalid cursor state.
This is the bit of code that gives that error:

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

while ( {

Which result set are we referring to?
jan frank

Joined: Jul 31, 2005
Posts: 5
oops! the resultset should have been rs1 not rs.
I resolved the problem
GeeCON Prague 2014
subject: Invalid cursor state