Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic record numbering
Message
De
16/03/2005 17:45:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00996535
Message ID:
00996583
Vues:
16
Unless it's really fast. The article you reference uses FLOCK(). Many people have used it over the years and never reported a problem.

>
>I'm surprised that it worked in DOS because the only way to get next # relabaly is to FLOCK() the table until new record is saved. However locking the table will create unnecessary contention in multi-user environment. Take a look at the article Primary Keys by Craig Berntson at http://www.craigberntson.com/Articles/kb006.htm
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform