Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor cannot be modified error ????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01281030
Message ID:
01281034
Vues:
13
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform