Access XP
Opening a Table and Learning to Navigate Records
Introduction
By the end of this lesson, learners should be able to:
- Open a table in Datasheet View
- Navigate through table records and across fields
- Understand the function of the Record Selector field
Opening an Existing Table in Datasheet View
Tables are created and maintained in the Tables tab of the Objects palette in Microsoft Access. The Contact Management database contains four tables: Calls, Contact Types, Contacts, and Switchboard Items. We will discuss the Contacts table in this lesson.
A table opened in Datasheet View resembles a Microsoft Excel spreadsheet. It is used to input records into the database and will be discussed in this lesson.
To Open an Existing Table (Contacts) from the Tables Object:
- Open the Contact Management database.
- In the database window, click on the Tables tab from the Object palette.
NOTE: If the database window is not displayed by default, choose WindowContact Management: Database from the menu bar.
- To open the table in Datasheet View, double-click the Contacts table in the right window pane.
(You could also either click once on the Contacts form and then click the Open button, or you could right-click on the Contacts form and select Open from the shortcut menu.
Using the Status Area to Navigate through the Records in a Table
The Datasheet View looks like an Excel spreadsheet. It consists of columns and rows. Field names—Contact ID, First Name, Last Name, Dear, Address, City, State, etc.—appear as column headings. Records represent rows with data input into the fields. The number of rows that appear in the table will equal the number of records that have been added to the table. One blank row always appears as the last row of the database. This blank row is used to add a new record the table.
The status area in the lower left area of the window indicates the number of records in the table as well as the record number displayed in the window.
To Navigate Using the Status Area:
- Click the arrows in the status area to move to the first record, previous record, next record, or last record in the table.
- The new record button displays a blank row into which information for a new record can be added to the table.
Displaying Records by Scrolling Through the Table
The vertical scroll bar is located along the right edge of the screen and can be used to move up or down the table if the total number of records exceed the records shown on the screen. Similarly, the horizontal scroll bar located at the bottom of the screen can be used to move left or right across the window if the fields in a table exceed the number of fields displayed on the screen.
Using the Vertical Scroll Bar:
- Click the up or down arrows in the scroll bar to move up or down through the table records.
Using the Horizontal Scroll Bar:
- Click the left or right arrows in the scroll bar to move left or right through the fields in a table.
Using the Keyboard to Navigate Table Records
Another way to navigate records in a table is to scroll up and down one screen at a time using the PageUp and PageDown keys on the keyboard. Other keys also provide shortcuts to move through fields and records, including:
Key: | Selects the: |
Tab | Next field to the right |
Shift + Tab | Next field to the left |
End | Last field of the record |
Home | First field of the record |
Down Arrow | Same field in the next record |
Up Arrow | Same field in the previous record |
Page Down | Next screen of table records |
Page Up | Previous screen of table records |
Ctrl + End | Last field of the last record in the table |
Ctrl + Home | First field in the first record in the table |
The Record Selector
The Record Selector located to the left of each record in Datasheet View identifies the operation being performed against a selected record at any given time.
The Record Selector can display any of the following symbols:
- indicates the current record. The record is saved with the information displayed on the screen.
- indicates the selected record is being edited and the changes have not yet been saved.
- indicates a blank record into which information for a new record can be added to the table.
A blank record row always appears as the last row in a table. You must add new table records using this row.
Challenge
- Open the Contact Management database
- Open the Contacts table in Datasheet View
- In sequence, click through each of the following buttons in the Status Area: Next Record, Last Record, Previous Record, and First Record.
- In the far right side of the title bar, click the Restore Down button. Practice scrolling through the table using the horizontal and vertical scroll bars. Take a screen print of the window showing the horizontal and vertical scroll bars.
- Practice using the keyboard to navigate through table records. Notice how the cursor moves from record to record for each of the following keys:
- Tab
- Shift + Tab
- End
- Home
- Page Down
- Page Up
- Down Arrow
- Up Arrow
- Ctrl + End
- Ctrl + Home