getautonumber
VARIABLE

The getautonumber statement returns the automatically generated number for the next record that will be added to the database.


Parameters

This statement has one parameter:

variable – variable that will contain the number.


Description

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

local xNumber
getautonumber xNumber
setautonumber xNumber+100

Note: This statement is obsolete, and should not be used in new applications. Use the getautonumber( function instead.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.