select * from produto order by código having between(recno(),1,50)
select * from produto order by código having between(recno(),51,100)