To fix this, if I remember correctly, there is a nice trick:
local lnGridHeight
thisform.lockscreen=.T.
lnGridHeight=yourgrid.height
yourgrid.height=xx
yourgrid.height=lnGridHeight
thisform.lockscreen=.F.
>Hi
> I am working on a form that you can search on the grid which has a controlSource of about 50,000 records. The grid has 11 rows and when I search for something it always seems to set the pointer on row 6 is there anyway to make it go to row 2 of the grid. I tried using a DoScroll(1) it seemed to work until one search value was right after the last one and then the pointer would dissappears. I would just like it to put the pointer on row 2 instead of the middle of the grid (row 6). Can anyone help me with this?
>-Justin-