Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add + 1 to code
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01177374
Message ID:
01177421
Vues:
14
>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 ?
>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 ?

see http://msdn2.microsoft.com/en-us/library/aa976850(VS.71).aspx

there is a risk that two or more users go through that code at the same time and end with the same value for max(code).

n
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform