Viewing and Adding Table Records

In Access 2003 viewing table records is simple. In Access 2003 adding table records is easy as well. Just follow these instructions.

Introduction

By the end of this lesson, you should be able to:

  • Add a table record in Datasheet view
  • Resize table columns
  • Adjust row heights

Enter or add a table record in Datasheet view

Each record in a table is represented by a row. Field names are represented as columns in the table. To add a new record, navigate to the last row in the table—it's a blank row—or click the New Record button in the status area. Then input the requested information into each field in the new record. In this lesson, you will add a new record to the Contact table.

To enter or add a table record in Datasheet view:

  • If not already displayed, open the Contacts table in the Contact Management database.
  • Click the New Record button to display a blank row for data entry.
  • Moving left to right across the screen, type the requested information into each field of the record. If the field label reads First Name, type the first name of the individual being entered into the table.
  • Press the Tab key to move from one field to the next, or left-click with your mouse in the next field.

    Entering Information in a Table
  • Complete entries in the remaining form fields: Last Name, Company, Address, City, State/Province, Postal Code, Country, Title, Work Phone, Work Extension, Mobile Phone, Fax Number, Contact Type, Email Name, Referred By, and Notes pertaining to the contact.
  • Press the Tab key in the last column to start another record, or click the New Record button again.

Saving your work: Information in a table is saved automatically when the mouse, an arrow key, the Tab key, or the Enter key is used to move the cursor out of that row and into a different record.

You can manually save data being entered for a record as you work your way across the different fields in the record—there are many fields in the record. Choose RecordsSave on the Standard toolbar to save data without moving the cursor out of the record's row.

Resizing table columns

Adjusting a column width in Access is similar to Microsoft Excel. By default, each column in Access is 15.6667 characters wide. Each individual column can be enlarged to 363 characters wide.

When entering records, you may need to resize columns to view the information as it is being typed. The width of an address column, for example, might be smaller than the actual address. You can adjust the column width of any field so it is wide enough to view the complete field entry.

An Example Showing Where the Street Address is Larger than the Column Width

In Access, you can adjust column width manually, use AutoFit, or use the menu bar.

To manually adjust a column width:

  • Place your mouse pointer to the right side of the gray column header.
  • The mouse pointer changes to the adjustment tool (double-headed arrow).



     Column Width

  • Drag the adjustment tool left or right to the desired width, then release the mouse button.

    Comparison Between Before and After Column Resizing

Resizing table columns

Adjusting column width using the menu bar:

  • Click anywhere in the column where the column width is to be changed.
  • Choose FormatColumn Width on the Standard toolbar.
  • Type a new specification in the Column Width field.
  • Click the OK button to accept the change.

To AutoFit column width:

  • Place your mouse pointer to the right side of the column header.
  • The mouse pointer changes to the adjustment tool (double-headed arrow).
  • Double-click the column header border.
  • Access automatically fits the column, making the entire column slightly larger than the largest entry contained in it.

To access AutoFit from the menu bar, choose FormatColumn Width, then check the Best Fit check box.

Adjusting row height

Each row in Access defaults to a height of 12.75 but can be enlarged to 1638. Changing the height of a row is similar to adjusting a column width, with two exceptions: a row height change applies to all rows in a table, and AutoFit is not available at the row level.

To adjust row height:

  • Choose FormatRow Height on the Standard toolbar.

    Format and Row Heigh Menu Selections
  • Type a new specification in the Row Height field.

    Row Height Dialog Box
  • Click the OK button to accept the change.

Saving your work: If you changed the table layout, you will be prompted to save the changes when you exit Microsoft Access.

Challenge!