The getautonumber statement returns the automatically generated number for the next record that will be added to the database.
This statement has one parameter:
variable – variable that will contain the number.
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.
|10.0||No Change||Carried over from Panorama 6.0.|