Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pessimistic table buffering - VFP8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Pessimistic table buffering - VFP8
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01195247
Message ID:
01195247
Vues:
67
Trying to use pessimistic table buffering to undo changes when desired.

CURSORSETPROP("Buffering", 4, 'Department') && form LOAD

..... change record

..... change another record (get error)

ThisForm.Release() && OK button

CURSORSETPROP("Buffering", 1, 'Department') && form UNLOAD

However above works OK if I change the one record only.
If I try to change more than one record I get error 2072
"Cursor cannot be modified because it contains an unsaved record."

Tried putting TableUpdate(1) but still same error.
The table is a free table and is USE AGAIN as Department
Any ideas?
-----------------------------------------------------------------
Paul Lee ........... Abri Technologies ......... http://abri.com/
'Recover' - top rated FoxPro/dBase file repair utility.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform