def fetch_scroll(direction, offset)
direction = case direction
when DBI::SQL_FETCH_FIRST then ::ODBC::SQL_FETCH_FIRST
when DBI::SQL_FETCH_LAST then ::ODBC::SQL_FETCH_LAST
when DBI::SQL_FETCH_NEXT then ::ODBC::SQL_FETCH_NEXT
when DBI::SQL_FETCH_PRIOR then ::ODBC::SQL_FETCH_PRIOR
when DBI::SQL_FETCH_ABSOLUTE then ::ODBC::SQL_FETCH_ABSOLUTE
when DBI::SQL_FETCH_RELATIVE then ::ODBC::SQL_FETCH_RELATIVE
end
convert_row(@handle.fetch_scroll(direction, offset))
rescue ODBCErr => err
raise DBI::DatabaseError.new(err.message)
end