>Is there a way to limit this to only after row change and not column change??
Yes (Sergey was quicker, because I was eating my lunch :)), so I will just clarify. In our grid class we have property called nCurRec. In Grid AfterRowColChange we have
lparameter nColIndex
local lnCurRec
lnCurRec = recno(this.RecordSource)
if m.lnCurRec<>this.nCurRec
do your code
this.nCurRec = m.lnCurRec
endif
dodefault(nColIndex)
We haven't upgraded to VFP7 yet.
If it's not broken, fix it until it is.
My Blog