Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Cannot be Modified (error 2072)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00995174
Message ID:
00995302
Views:
20
Are you updating a current grid record or some other record?

BTW, it was suggested to save a record from a memory into a table buffer by issuing GOTO statement, not from a buffer into a table.

>Ok.. so does anyone have a good workaround for this one???
>I've looked at the threads on it here.. but don't see a clear answer..
>I have a table buffered cursor of order detail items as the record source of a grid.
>I need to write to the cursor not only through the grid, but also directly from the valid of some textboxes and controls on the grid. ( I assume that's what is causing the problem)..
>Having written in this way to one record, when I then move to another record and try to write to it via a replace from a valid, I get the "Cursor cannot be modified..." error 2072..
>
>Saving each record as I leave it is not an option.. I need to have all the changes buffered so that I can create a diffgram from the buffered cursor when the user wants to save the whole order.. (the diffgram gets sent via an async connection to the data layer where it is applied to an sqlserver database)...
>
>This thing is a real PITA..and my supply of hairs to pull off my head is running low..
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform