aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Invalid cursor state" Watch "Invalid cursor state" New topic
Author

Invalid cursor state

jan frank
Greenhorn

Joined: Jul 31, 2005
Posts: 5
Hi,

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:



Thanks
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

while (rs.next()) {
System.out.println(rs1.getString("welcome_note"));
}


Which result set are we referring to?
jan frank
Greenhorn

Joined: Jul 31, 2005
Posts: 5
oops! the resultset should have been rs1 not rs.
I resolved the problem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invalid cursor state