>>Hi all ,
>>How can I know that a cursor has been modified (deleted , modified , add new).
>>THANKS
>
>I think you can use the same buffering-related commands that you would use for a table. Activate buffering, and then use one of the following:
>
>CursorGetProp() - helps you find out whether the current record was modified.
I think
GetFldState()
it is rather usefull.
and few more from 'see also'
CURVAL( )
FIELD( )
OLDVAL( )
SETFLDSTATE()
It wld be obvioselly very usefull if VFP had something like ;
GetRecordState()
GetCursorState()
But this can be built :)
>
>GetNextModified() - gives you the recno() of a modified record, if there is one.