Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Record
Message
De
07/08/2006 15:02:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01143354
Message ID:
01143558
Vues:
8
>Not sure this would work in multi-user environment when two users try to create a new order in the same time.

You have to provide the necessary table lock when getting the next order number to use. This lock is only applied for a very short time (was not included in the above code -- it was typed off the "top-of-my-head"). The retry for another user will then be able to lock the table and get the next one. I have used this concept in a database with over a thousand users without incident.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform