| Name: | AUTONUM | Shortest: | AUT |
|---|---|---|---|
| Family: | Command | Category: | Data Definition |
| Description: | Use the AUTONUM command to define, modify, or remove an autonumber formula from a column. | ||
| Formatting Character |
Result
|
|---|---|
|
9
|
Specify a numeric digit; leading zeros are suppressed. |
|
0
|
Specify a numeric digit; leading zeros are displayed. |
|
. (period)
|
Aligns digits along a decimal point. |
|
[ ] (brackets)
|
Encloses literal text. |
| Autonumber? | Conditions | |
|---|---|---|
| Yes | NUM | A column exists in only one table in the database. You can use the ORDER BY NUM clause to sort the rows in the order in which you want them renumbered. When you add new rows, values are numbered in the order in which the rows are added to the table. |
| No | NONUM or do not specify |
A linking (or common) column exists in more than one table. You will destroy the common column values that link your tables if you renumber the values in a linking column. R:BASE adds autonumbered values to new rows as you add them to the table. |