reset-autonumber()

This function resets the profile-wide number range a to value b.

The return value of the function is b.

Important note: When this function is executed, a connection to the main database ("hub") is established and closed again. Please note that this can lead to large performance losses with very frequent function calls.

Parameters


Parameter

Description

a

Name of the number range.

b

(optional) New value. Default: "0".

Note: This is also true if function "autonumber(a,b,c,d)" was used to create the number range. However, if the newly set value is less than the minimum or greater than or equal to the maximum, the next call of "autonumber(a,b,c,d)" returns the minimum value again.

GUI


See section Profile values for profile-wide number ranges.