Table of Contents

O4WGenerateID routine

Description

O4WGenerateID is a function that returns a guaranteed-unique identifier.

Syntax

O4WGenerateID(prefix)

Parameters

The function has the following parameters:

ParameterDescription
prefixThe prefix parameter is provided so that similar ids can be identified. An advantage of using O4WGenerateID is that any records using the returned ID, if used in the O4W temporary work table (available through the named common variable O4WTempFile%), will automatically be “cleaned up” after two days.

Returns

The unique id.