Guid$

Takes no parameters

Description:

Returns a globally unique identifier in the Microsoft spec. This GUID is formatted as a hex string, is punctuated with - characters, and is 36 bytes long. It is not wrapped in { }.

See also Ctid$ which may be more suitable for transactional records, as well as Cuid$ for a Moxie.Build spec value.

Example:

[New] myGuid = Guid$