Skip to content

TSQLSequence.GetNextValue

Get a next value for the sequence.

Declaration

Source position: sqldb.pp line 477

public 
function TSQLSequence.GetNextValue : Int64;

Description

GetNextValue gets a new value for generator TSQLSequence.SequenceName using TSQLSequence.IncrementBy

Errors

If the dataset is not attached to a connected database, an exception will be raised.

See also

Name Description
TSQLSequence.FieldName Field to apply sequence to.
TSQLSequence.SequenceName Sequence name to get values from.
TSQLSequence.IncrementBy Value to increment sequence with.
TSQLSequence.Apply Apply a new value to a field.
TSQLConnection.GetNextValue Get next value for a sequence.