Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does cursor buffer have any changes?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01507610
Message ID:
01507619
Views:
49
>>>Hi,
>>>
>>>Is there a way to determine if a cursor buffer has any pending changes? I am looking at function GetNextModified() which will probably work. But my understanding that it goes though a number of records. And I am interested to know if the current record of the buffered cursor has any changes. Any suggestions?
>>
>>GETFLDSTATE() ?
>
>I thought about it but I will have to scan through all the fields. Which is doable. I was hoping that CursorGetProp() would have a property that would indicate if the cursor record has pending changes. But nothing else, scanning fields with GetFldState() should work.
>Thank you.

You can check all fields at once with -1 field # . and than check result for modification. One line of code.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform