setautonumber
NUMBER

The setautonumber statement changes the automatically generated number for the next record that will be added to database. This allows you to generate numbers out of sequence, or to start the sequence at a specific value.


Parameters

This statement has one parameter:

number – is the number that should be assigned to the next record that is created. This must be an integer.


Description

Panorama can automatically number new records as they are added to the database. This statement allows a procedure to change what the next number will be. This example skips autonumbering ahead by 100:

setautonumber getautonumber()+100

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.