>Hello all,
>
>First let me tell you that I work with VFP3.
>
>I know about the BeforeRowColChange event in a grid.
>
>I would like to know how to execute code only when the user change for another line in the grid not another column. How can I do this?
Denis,
You'll need a form property (nOldRow) to store the active record #. Then in the AfterRowColChange() code put:
if recno('mytable') = thisform.nOldRow
thisform.nOldRow = recno()
endif
HTH
Barbara