>>I have a view cursor with just one record. I do GetNextModified(0, "MyCursor") and get result: 1.
>>I go to the first (and only) record on the cursor and do GetFldState(-1, "MyCursor") and get all 1's, so the record has NOT been changed or touched.
>>
>>I'm using VFP6 SP5 on XP Professional.
>>
>>What might be the problem?
>>
>>
>>Thanks!
>
>GetNextModified() doesn't move the pointer but go does. You might be causing an implicit tableupdate() wih row buffering ?
>Cetin
Cetin:
Thank you for your suggestion.
I am actually using Table Buffering, so that shouldn't be the case. Also, according to "Hacker's Guide to VFP 6" GetNextModified() actually
does move the record pointer at least temporarily, which is one of the weaknesses of that function, since it will fire row rules as it goes...
However, this "false positive" really bugs me, because I am relying on GetNextmodified() quite heavily, and now I have some misgivings about its accuracy at all times. I create a workaround function for now that doublechecks the GetNextModified() positive findings with GetFldState() for each of the supposedly modified fields, but this seems like a lot of work for something that should work out of the box...
Pertti