Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Guaranteed unique number
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00992072
Message ID:
00992073
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform