Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2015) question
Message
From
15/04/2004 16:02:57
 
 
To
15/04/2004 15:53:20
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00895301
Message ID:
00895309
Views:
26
Yes. I am trying to generate a PK. However, I need the ability to be able to create an offline-PK. GUIDs are too long. However, will this formula always return a unique number?
oGUID = createobject("scriptlet.typelib")
cGUID = strextract(oGUID.GUID, "{", "}" )
oGUID = null
?sys(2007,cGUID,1,1)
>Hi Ramil
>
>What are you trying to do? There are common method to generate unique PKs. To generate a unique filename, you might be able to use sys(2015) in a local temp folder.
>
>>Hi all,
>>
>>When issuing SYS(2015) from different machines, is there a slight chance that it will come up with the same result?
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform