Contents Index Cursor has not been declared Cursor not in a valid state

ASA Error Messages
  Database Error Messages
    Alphabetic list of error messages

Cursor is restricted to FETCH NEXT operations


Item Value
SQLCODE -668
Constant SQLE_NO_SCROLL_CURSOR
SQLSTATE 09W06
Sybase error code 13710
ODBC 2 State S1106
ODBC 3 State HY106
Probable cause 

An illegal FETCH operation has been detected for a NO SCROLL cursor. For a forward-only cursor the only permitted FETCH operations are FETCH RELATIVE 0 and FETCH NEXT (FETCH RELATIVE 1).


Contents Index Cursor has not been declared Cursor not in a valid state