SQL$HELP72.HLB  —  Errors  SQL_ERRORS, CUROFNOT
  CURRENT OF cursor-name is allowed only in DECLARE LIST CURSOR,
  UPDATE and DELETE statements

  Explanation:  The CURRENT OF cursor-name clause is used to
  modify or delete the current record in a cursor.  It has no
  meaning in the WHERE clause of a select expression except in
  declare list cursor.

  User Action:  Replace the WHERE CURRENT OF clause with a WHERE
  predicate clause that specifies the record you wish to select.
Close Help