Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simulating sys(2015)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00185406
Message ID:
00185435
Views:
36
>You could use the following, but it only 99,99% unique.
>
>cUnique = "_"+STR(INT(RAND()* 99999999 + 100000000),9)

Benn,

Random and Unique are not the same as I found out a few years ago. At a conference there was to be a contest and we used Rand to generate random badge numbers. When the code was run there were repeating values generated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform