>Ok, don't laugh. I have a Fox application that uses sys(2015) to create unique keys.
>
>I would like to create a small utility application in VB that acts upon this Fox data, but I need to know if there is a way to simulate the sys(2015) function. Any ideas?
>
>I suppose if someone can suggest any function, that will return a unique 10 character string, I could substitute this for the sys(2015) call.
Hi Jarod
You could use the following, but it only 99,99% unique.
cUnique = "_"+STR(INT(RAND()* 99999999 + 100000000),9)
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"