GetWRDSequenceNext (open)

Get the next sequence number

Syntax

LOADLIB "mod::wrd/lib/api.whlib";

STRING FUNCTION GetWRDSequenceNext(INTEGER wrdschemaid, STRING statekey, RECORD options)

Parameters

INTEGER wrdschemaid
STRING statekey
RECORD options
mutex

Mutex to use (if set, runs in a separate transaction). If not set, make sure a mutex protects the transaction

nrformat
statekey

Return value

STRING