PDA

Click to See Complete Forum and Search --> : Database Error: Invalid Cursor State


Anonymona
Jun 16th, 2002, 09:29 PM
Error: [Microsoft][ODBC Driver Manager] Invalid cursor state

Anyone know what causes that error?
I can't see anything wrong in my code..


:(

crptcblade
Jun 16th, 2002, 10:47 PM
Odds are, you are trying to access a field twice. I've gotten this plenty of times. For example :

//...
System.out.println(rs.getObject("USER_NAME"));
System.out.println(rs.getObject("USER_NAME"));
//...


That is the usual cause in my experience. Is this a possiblity in your case?

:)