Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Guaranteed unique number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00992072
Message ID:
00992073
Vues:
19
>Anyone have the function that will guarantee a unique number?
>The test has to create 2 different numbers in a single line,
>for example: ?str(seconds(),11,4)+str(seconds(),11,4) fails the test.
>The true result needs to be a number [so sys(2015) in a no-go], type casting is used only for the test.


See if this helps you:
http://feldstein.net/newid.asp


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform