Try this:

Lianja.Get("page1.section1").grid.last()
do while recno('order_details')<reccount('order_details')
Lianja.Get("page1.section1").grid.doscroll(1)
enddo


1038
This way you can...