Share via


Sequence.currval Method

Gets the current sequence number from the sequence, without incrementing the counter value.

Syntax

public int64 currval([str Subkey1, int Subkey2])

Run On

Server

Parameters

  • Subkey1
    Type: str
    The Company, or identification of the sequence to access; optional.
  • Subkey2
    Type: int

Return Value

Type: int64
The current sequence number from the sequence.

See Also

Sequence Class

Sequence.nextval Method