Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate sequence numers
Message
From
13/02/2001 12:09:41
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Duplicate sequence numers
Miscellaneous
Thread ID:
00475336
Message ID:
00475336
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform