Results 1 to 2 of 2

Thread: Database Error: Invalid Cursor State

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Toronto
    Posts
    15

    Database Error: Invalid Cursor State

    Error: [Microsoft][ODBC Driver Manager] Invalid cursor state

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



  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Odds are, you are trying to access a field twice. I've gotten this plenty of times. For example :
    Code:
    //...
    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?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width