Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicate sequence numers
Message
De
13/02/2001 12:09:41
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Duplicate sequence numers
Divers
Thread ID:
00475336
Message ID:
00475336
Vues:
57
I have a table that contains one record for each sequence number I need in my system. When I add a record to a table that needs a unique key, I go to this table, lock the record, take the next number, update the record, release the lock, and close the table. Somehow, however, duplicate sequence numbers are getting into some of my files, particularly one that has multiple users adding data at the same time. How can this be? Is there any other way I can ensure that 2 users don't pick up the same number?

Thanks,
Elyse
Elyse Pomerantz
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform