>Could you please help? I'm trying to find why/when getnextmodified() return negative value? Help doesn't mentioned it...
>
>I use something like:
>
>use table alias aaa
>select * from aaa into cursor tempcur readwrite
>set multilock on
>= cursorsetprop('Buffering',5,'tempcur')
>go 2
>replace field with 999
>go top
>? getnextmodified() && returns -1...
>
>
>TIA
>Dmitry
Dmitry,
I think this code would error (GetNextModified() missing parameter).
If that was a typo are you sure it returns -1 with this code ? For it to return a negative value you should have made an insertion. Help somewhat says this (... returns 0 if there are no modified records after the record you specify.)
Cetin