Inserting, Deleting, and Reordering Fields

You can insert, delete, and edit fields in your database tables in Design view. In Design view for tables, each row corresponds to a field. You can add a field by inserting a new row that contains the field name , data type, and other properties. You can delete a field by removing a row. You can also change field order by re-ordering the rows to better suit your data entry needs. Using Design view for tables makes these tasks easy.

Insert a New Field

graphics/1_icon.jpg

In the Database window, click Tables on the Objects bar, click the table in which you want to insert a new field, and then click the Design button.

graphics/2_icon.jpg

Click the row selector for the field that will be below the new field you want to insert.

graphics/3_icon.jpg Click the Insert Rows button on the Table Design toolbar.

A new blank row appears above the row you selected.

graphics/4_icon.jpg

Click the Field Name cell for the row you inserted, type the name of the new field (up to 64 characters ), and then press Tab.

graphics/5_icon.jpg

Click the list arrow in the Data Type column, click the data type you want to assign to the field, and then press Tab.

graphics/6_icon.jpg

Type a brief description of the new field (up to 255 characters).

graphics/7_icon.jpg

Set additional field properties in the property sheet, if appropriate.

graphics/04inf01.jpg

Did You Know?

Field descriptions appear in the status bar . Access displays the description in the status bar, giving your users more information during data entry.


Delete a Field

graphics/1_icon.jpg

Display the table in Design view, and then click the row selector for the row you want to delete.

graphics/2_icon.jpg Click the Delete Rows button on the Table Design toolbar.

If any records in the table contain data for this field, a message informs you that deleting this field will also delete any data in the field.

graphics/3_icon.jpg

Click Yes to confirm you want to continue, or click No to cancel the deletion.

graphics/04inf02.jpg

Change the Order of Fields in a Table

graphics/1_icon.jpg

Display the table in Design view, and then click to select the row selector for the field you want to move.

graphics/2_icon.jpg

Click the row selector again, and then press and hold the mouse button.

graphics/3_icon.jpg

Drag the row to the new position where you want the field to appear, and then release the mouse button.

graphics/04inf03.jpg



Show Me Microsoft Office Access 2003
Show Me Microsoft Office Access 2003
ISBN: 0789730049
EAN: 2147483647
Year: 2002
Pages: 318

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net