Database Management
Reference Manual
Sequence Number Generator
: NameSeq Object
NameSeq Object
Methods
Name
Result
Description
NameSeq(string)
Bool
If not existing, creates a sequence of given name, otherwise brings back the name sequence available.
Next()
String
Get next composed name in sequence.
Remove()
Bool
Delete sequence.
SetStart(real)
Bool
Set first running number of sequence (default 0).
SetMax(real)
Bool
Set last running number of sequence.
SetStep(real)
Bool
Set increment (default 1).
SetWraparound()
Bool
Allow wraparound when maximum value is reached.
SetNoWraparound()
Bool
Disallow wraparound (error returned when maximum is reached).
GetMax()
Real
Get last running number of sequence (default 2147483647).
GetStep()
Real
Get increment.
GetCurrent()
Real
Get current running number.
GetName()
String
Get name of sequence.
IsWraparound()
Bool
Get wraparound status.
ReStart
Bool
Restarts a sequence from its first running number.
GetStart
Real
Get first running number
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.