Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Cannot be Modified Error 2072
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Cursor Cannot be Modified Error 2072
Miscellaneous
Thread ID:
00921409
Message ID:
00921409
Views:
43
Hello All,

I am getting the terrible Error 2072 on various parts of my program. I have read the 15 or so threads pertaining to this, and have tried the various fixes. Unfortunately none of them applies to this situation which is very strange. It is intermittent, so I cannot reproduce it.

I have a buffered TABLE connected to a form's fields. Very simple. In the Save routine, before I do a tableupdate, I check some of the fields - and do a REPLACE of the field with a variable. This field is showing on the form as well. It is quite possible that the focus is COMING from a Grid, but the error seems to be pointing to altering the underlying table of the form itself, not the grid which has a modifiable cursor attached to it.

I'm wondering if I should implement a SetFocus() to some field somewhere before I go to save the record.

This also happens when I'm inside a grid and to a calculation of totals of the cursor underneath it, to display on a control OUTSIDE the grid. So I am updating the .Value of the control which is connected to a field in the table for the form.

Thanks for any suggestions.
Reply
Map
View

Click here to load this message in the networking platform