UpdateWRDSequenceParameters (open)

Update parameters for calculation of the next sequence number

Syntax

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

MACRO UpdateWRDSequenceParameters(INTEGER wrdschemaid, STRING statekey, RECORD options)

Parameters

INTEGER wrdschemaid
STRING statekey
RECORD options
minnumber

Minimum nr to use for '%0xxn' formatting

mutex

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

nrformat

Default nr format

statekey