SEQNUM

Syntax

SEQNUM (initial_value_number)

Description

Returns the next sequential number. The first number returned is the initial value set as a parameter in this function. After that, the count is incremented by one and returned.

Arguments

initial_value_number Optional starting value for the sequence number

Returns

Returns 1 the first time the function is called if the initial_value_number is not specified.

Remarks

The initial value is reset every time the Map is run.

Examples

SEQNUM( )

Returns: 1 the first time the function is called, and 2 the next time it is called.

SEQNUM( 123 )

Returns: 123 the first time the function is called, and 124 the next time it is called.

Related Topics

Miscellaneous Functions

SEQNUMN