SQL$HELP72.HLB  —  Errors  SQL_ERRORS, BADORIENT
  fetch orientation allowed only for scroll cursors

  Explanation:  You specified a fetch orientation for a fetch
  statement, but the cursor for the fetch statement was not a
  scroll cursor.

  User Action:  Either ignore the clause or use a scroll cursor.
Close Help