Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Number
Message
De
25/05/2005 16:48:49
 
 
À
25/05/2005 14:49:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01017435
Message ID:
01017658
Vues:
21
>There are several ways to get autoinc in VFP 6.0. I've had several people question my method that uses FLOCK(), but it has been stressed tested with hundred of users and at multiple locations.
>

Your method makes a lot of sense. You prevent machine #2 from reading and grabbing a lock on a record right after machine #1 finds the record and *doesn't* get the lock. And the file won't be locked long.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform