Open topic with navigation
You can use the following procedures to modify the tables and data in your database.
To delete a table from the database
Use one of the following methods:
-
On the Home tab, click Remove Table.
-
In the Tables pane, use the secondary mouse button to click the table that you want to delete, and then click Remove.
To rename a table
-
In the Tables pane, double-click the table that you want to rename, and then enter the new name. Alternatively, use the secondary mouse button to click the table, click Rename, and then enter the new name.
To delete a field from a table
Use one of the following methods:
-
In Data view, use the secondary mouse button to click the column header for the field that you want to delete, and then click Delete. Alternatively, click any cell in the column for the field that you want to delete, and then on the Fields tab, click Remove Field.
-
In the fields pane of Design view, use the secondary mouse button to click the field name, data type, or description for the column that you want to delete, and then click Delete.
-
On the Home tab, click Remove All Fields. This action deletes all fields from the selected database.
-
In the fields pane of Design view, click to select the field that you want to delete, click a column header, and then press the Delete
key.
To rename a field
Use one of the following methods:
-
In Data view, double-click the column header for the field that you want to rename, and then enter the new name. Alternatively, use the secondary mouse button to click the header, click Rename, and then enter the new name.
-
In Design view, click the field name for the field that you want to rename, and then enter the new name.
To change the data type of a field
Use one of the following methods:
-
In Data view, click any cell in the column for the field that you want to modify, and then select the new data type in the Data Type list on the Fields tab.
-
In the fields pane of Design view, click the data type for the field that you want to modify, and then click the new data type in the list.
To change the data type format
Use one of the following methods:
-
In Data view, click any cell in the column for the field that you want to modify, and then select the new data type format in the Format list on the Fields tab.
-
In the fields pane of Design view, click the field that you want to modify, and then in the Field Properties pane, click the new format in the Format list.
|
You can change the format for the number, date, time, and check box data types.
|
To change a field's default value
Use one of the following methods:
In Data view, click any cell in the column for the field whose default value you want to change, and then enter the value that you want in the Default Value box on the Fields tab.
In the fields pane of Design view, click the field that you want to modify, and then in the Field Properties pane, enter the value that you want in the Default Value box.
To reorder the fields
To sort the data in the fields