I would suggest:
procedure form.load
cursorSetProp('yourCursor', 'buffering', 5)
...
select yourCursor
GO TOP
store 0 to liRec, lnRec
DO WHILE .T.
liRec = GetNextModified(m.liRec, 'yourCursor')
IF m.liRec > 0
GO m.liRec IN yourCursor
lnRec = m.lnRec + 1
ELSE
EXIT
ENDIF
enddo
>Hi,
>
>I have a grid bound to a cursor. I need to track which rows of the cursor user "touched" (made changes). So I am going to add a column CHANGED L to the cursor. Then when user makes any change in any column of the grid row I will set the value of CHANGED to .T.
>
>But how do I determined which cursor row is currently in focus/selected? That is, when user click in any column of the grid row, the cursor row does not actually move there.
>
>What would you suggest?
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)