Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor cannot be modified error ????
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01281030
Message ID:
01281034
Views:
12
You have to do TABLEUPDATE() after changing values.

>I'm getting this error:
>Cursor cannot be modified because it contains an unsaved record (Error 2072)
>
>...when I try to do something like this:
>
>Replace myremoteview.myfield WITH This.Value
>
>
>This.Value is a textbox in a grid. What's odd is that the help says this:
>"...This error typically occurs when a record in a cursor is modified in a grid or Browse window and is not saved before moving to another record.
>Any code that modifies the cursor should ensure that all modifications are saved before moving the record pointer...."
>
>-which is exactly what's happening, I'm changing the value of a remoteview in a grid, then moving to the next recrod without saving it..
>
>...but I have my view setup with optimistic table buffering -- I thought that was supposed to LET me do this??
>
>Is there a way around this that anyone knows? Did I miss something with optimistic table buffering or something?
>
>Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform