Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FLOCK() causes duplicate primary keys.
Message
 
To
25/08/2005 13:05:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01043971
Message ID:
01043994
Views:
11
I take it that a DBC is not involved.
So in that case I would use a semaphore when creating the primary key value. If the semaphore is not available, program would not create a primary key. It would either wait for the semaphore to be available or return to calling code telling user to try again.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform