Renamed active_row to activerow
Added firsrow, lastrow to ds_result (same as first, last)