>Hello comunity,
>
>I need to restore cursor position on Grid after doing a Scan to this inicial position , example:
>
>
>select bi
>mypos = recno()
>
>select bi
>scan
>IF myref = 'AA'
>replace something with anotherthing
>Endif
>endscan
>
>Go record mypos
>
>
>But don´work.
>
>Someone could give me help about how do that.
>Many thanks
I assume what you're trying to do is make sure the same set of rows is displayed as before. Take a look at the ActiveRow and RelativeRow properties. You might be able to use them along with RecNo() to figure out which row had focus and where it was in the grid. You can use the DoScroll method to move things in the grid.
Tamar