Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with buffering
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Problems with buffering
Divers
Thread ID:
00009962
Message ID:
00009962
Vues:
91
For some (important) reasons, I have defined a following buffering schema
in my form's dataenviroment:

[Local table] (table optimistic-5) - items of an invoice (invisible for a
user).
. Table buffer allows to implement 'Cancel/Save Changes'.
/|\
| automatically updated by view
|

[Local view - editable] (row optimictic-3) - a certain subset of mentioned
items,
. all form's controls bound to it.
/ \-----
/ \
/ \--- Some local, read only views for presenting data.
|
|--------

The problem:
1.I have set double buffer: row for a view and table for a local table.
When I add a record to a view, it has '3' or '4' field states in a view's
buffer. After '=tableUpdate' it changes to '1' field states and a record
appears in a table buffer (by automatic update) with '3' & '4' states.
2. From this point every attempt to '=tableupdate' is unsuccessful with
error 1585-update conflict.

Question: How can I force VFP to accept changes in new records?

Any suggestions appreciated.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform