>Is there a way to tell what table records are presently visible in a grid?
>
>TIA
>
>Rob.
I use grid math for it. Something like this :
with this
lnRecsVisible = int((.height - .headerheight)/.rowheight)
endwith
Current record could be found by grid.relativerow. So it's possible to calculate how much to skip backward, forward to get visible top, bottom. Of course it's not easy if buffering is on and rec pointer movement is a problem.
Cetin