Adding Fields
You can add a new field to a table with the Table Designer or with the language.
To add a field to a table
In the Table Designer, choose Insert.
In the Name column, type the name of the new field.
In the Type column, select a data type for the field.
In the Width column, set or enter a width for the field.
If the field has a type of Numeric or Float, set the number of decimal places in the Decimal column.
If you want the table to accept null values, select the NULL column.
Choose OK.
Choose Yes to make the table structure changes.
-or-
- Use the ADD COLUMN clause of the ALTER TABLE command.
For example, the following command adds a field called fax
to the customer
table and allows the field to have null values:
ALTER TABLE customer ADD COLUMN fax c(20) NULL
See Also
Modifying the Table Structure | Deleting Fields | Working with Tables | Renaming Fields | Setting or Changing Field-Level or Table Rules