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 wrdschemaidSTRING statekeyRECORD optionsmutexMutex to use (if set, runs in a separate transaction). If not set, make sure a mutex protects the transaction
nrformatstatekeyReturn value
STRING