I discovered that the
not fetch the prior row, but the current row. It seems
to be easily fixed by decrementing @current_row like this:
def fetch_scroll(direction, offset)
@current_row += 1
+ @current_row -= 1
@res_handle.data_seek(@current_row - 1)
Of course there may be some gotcha that I dont know
about, since i am three days new to ruby.
Ruby seems like a real nice language, I think I am
going to like it.
Thanks to all you guys for making the DBI work.