Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 2072 - cursor cannot be modified
Message
From
18/05/2004 21:51:21
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00787471
Message ID:
00905148
Views:
69
>Ok, what if the view isn't attached to a GRID and I still get this issue? That is what is happening right now. I do have a grid on the form, however, it's control source is a foxpro cursor (not a view, used Create Cursor... to build it and then assigned to the grid). I do, however have 3 views open, created from cursor adapters on a Data Environment.
>
>In one method, I add records to my Table buffered view and later, just before the TableUpdate in my Framework, I check to see if the view needs to have primary key values created for it, if so, then I REPLACE the pk field's with the new values. However, after the first record in my Table buffered view is changed and I try to replace the second record, I get the error.
>
>I don't know what else to do, except step outside of my frame work and manually add the primary key values the same time I add the records to my table buffered view.
>
>Thanks for any help you can give me

Hi Mark,

Please, come up with a repro code that I can run as is and see how it fails.

Thanks,
Aleksey.
Previous
Reply
Map
View

Click here to load this message in the networking platform