This action returns the next free number in a sequence (e.g. to generate a new unique identifier of a record in a database table).
A sequence is a series of whole numbers, starting from 1. When the action is first used for a specific sequence, it returns 1. The next time it is used for the same sequence, it returns 2, etc.
Properties [required]
To identify the sequence, set the Key property of the action to the name of the sequence (e.g. if you want to generate a unique identifier for records in a certain database table, you can set the Key property to the name of the table). Alternatively, use the <Key> trigger.
By default, all sequence numbers are kept is a special database table (Sequence_Numbers). To use a different table, set the sequenceNumberTable property of the action to the name of the database table to use (or use the <Table Name> trigger).
Triggers
Exit [required]
The action's template has one exit (<Next>), returning the generated sequence number.
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign