Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New ID number doesn't work on network
Message
 
À
29/03/1999 10:47:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00202999
Message ID:
00203033
Vues:
19
>An application I wrote for a client some time ago involves keeping track of people in a camp ground. The program automatically assigns a confirmation number by using a CALCULATE MAX() command on the field that contains the confirmation number. I then add one to that number and store the new number in the confirmation number field. It works fine unless multiple users on using the system. Then, occasionally, the system generates two of the same confirmation number. What is the best way to handle this type of problem on a network?
>
>Thanks in advance...
>
>John Dennis

I use SYS(2015) to generate unique numbers. It's not a counter and is character but it works in most small to medium systems.
Paul G Brown, MCSD
Paul G Brown
paul@paulgbrown.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform