When the Lookup Wizard appears, click the I want the lookup column to look up the values in a table or query radio button.. Click the Customers table, then click the button.. When the
Trang 1WORKING WITH TABLES
86
3 When the Lookup Wizard appears, click the I want the lookup
column to look up the values in a table or query radio button
Then click the button
Trang 24 Click the Customers table, then click the button
5 When next screen appears, double-click First Name
Trang 3WORKING WITH TABLES
88
6 Double-click Last Name
7 Click the button
Trang 48 Click the first drop-down arrow, then Last Name
Trang 5WORKING WITH TABLES
90
9 Click the button
The Lookup Wizard should show how the field will look with data
in it:
10 Click the button
Trang 611 In the label box, type:
Customer Name
Then click the button
12 When the alert window appears, click the button
13 In the Description column, type:
Name of the customer who placed the order then press TAB
Trang 7WORKING WITH TABLES
92
14 On the Toolbar, click the icon
The Orders table should look like this:
15 On the Toolbar, click the icon
The table should change to Datasheet View:
Trang 816 Click in the Customer Name field, then click the drop-down
arrow
A list of customers should appear:
17 On the Toolbar, click the icon
Trang 9WORKING WITH TABLES
94
The table should change back to Design View:
Trang 10Assign a Primary Key
1 Right-click the Order ID field
2 When the menu appears, click Primary Key
The field should now show a key beside it:
Trang 11WORKING WITH TABLES
96
3 On the Menu Bar, click File, then Save
Trang 12Specify field properties
1 Click in the Order Date field
2 In the Field Properties section of the window, click in the
Format box
3 Click the drop-down arrow at the end of the box
Trang 13WORKING WITH TABLES
98
4 In the menu of formats that appears, click Short Date
The Order Date field should now look like this:
Trang 14
5 On the Toolbar, click the icon
The table design window should now look like this:
6 On the Toolbar, click the icon
The table should look like this:
7 On the Menu Bar, click File, then Close to return to the
FoodStore1 database window
Trang 15WORKING WITH TABLES
100
Edit records
1 Open the Customers table
Make sure it’s displayed in Datasheet View
2 Click inside the Address 1 field for record number 3, between
the two fives in 35546 York Ave
3 Press the BACKSPACE key on your keyboard
The first 5 in the address should be gone:
4 Press TAB to move to the next field
Trang 165 Type:
Unit L
It should replace the previous text:
6 Click in any other record
Tip: Remember—changed data in a record is saved when you move off that record
The Customers table should now look like this:
Trang 17WORKING WITH TABLES
102
Delete records
1 Right-click the row heading for Chris Happ’s record
2 In the menu that appears, click Delete Record
Trang 183 When the alert window appears, click the button
Tip: Once a record has been deleted from the database, it cannot be recovered There is no Undo feature in Access
Trang 19WORKING WITH TABLES
104
Find records
Navigate records
1 In the Customers table window, click the button
The last record in the database should be highlighted:
Trang 202 Click the button
The sixth record should be highlighted
3 Click the button again
The fifth record should be highlighted
4 Click the button
The first record should be highlighted
5 Click the button
The second record should be highlighted
6 Click the button
The Customers table should look like this:
Trang 21WORKING WITH TABLES
106
Search for records
1 Click the Company Name column header
The table should look like this:
2 On the Toolbar, click the icon
Trang 223 When the Find and Replace window appears, type:
BBC
in the Find What box
4 In the Match list, click the drop-down arrow, then Any Part of
Field