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