Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add + 1 to code
Message
From
13/12/2006 17:15:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01177374
Message ID:
01177418
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>would you not be better of making code an integer(autoinc) field?
>
>How can I do it ?
>
>if this is a multi user app is there not a (very small) risk of two people updating the table at the same time and getting the same code value ?
>
>Yes it's an application that might have up to 5 computer in a network
>Is there any risk ?

Yes, there's a huge risk, and it's no easy task to overcome. Read here for a solution: http://www.craigberntson.com/Articles/kb006.htm
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform