Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table buffering and update speed
Message
De
29/09/2005 16:25:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/09/2005 13:48:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01054495
Message ID:
01054672
Vues:
19
>Thanks for your reply.
>
>You are right in that the problem occurs because several users are trying to save records at the same time.
>
>I will try to change the buffering and let you know.

Mike Yearwood says it isn't convenient to use optimistic buffering, if there is a risk that the same record will be used. My opinion on this is the following: Normally, data won't be overwritten in this case (depending on the parameters for TableUpdate() - see help); VFP will detect the conflict, and the record won't be saved. However, if this happens often, it can be inconvenient for the users.

You can also use explicit record locking in some individual cases. Again, you have the problem of record being locked for too long a time (while the user is editing).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform