Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table buffer mode and unbuffer mode in same program
Message
 
 
À
25/03/2004 15:38:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00889769
Message ID:
00889835
Vues:
24
John,

Provided you have a primary key mechanism that works for both buffered and unbuffered use you shouldn't have any problems. The buffered users won't see any updates made anywhere else and the others won't see the changes made by the buffered table until you commit the changes with TableUpdate().

You can pretty effectively test this yourself by opening two seperate VFP sessions on your machine and running your code from both of them.

>What happens when I have the same table in one part of the program buffered (5) and in a different part of the program appending to the table in un-buffered mode. One user is using the table in a form and it's buffered and the other user is using the table in a different form un-buffered and they attempt to write to the table at the same time?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform