Modify tables
Edit records
Find records
Modify tables
1. Copy FoodStore1 at \\10.0.71.14\Exercises\Jerame\BUS IT 2\Access
Exercises\Misc.
2. Paste it in your home folder under Practice Access Files folder. Filename
must still be FoodStore1.
4. In the Field Properties area of the window, click in the Input Mask property.
5. Click the
8. Click the
button.
button.
10. When the next screen appears, click the radio button beside With the
symbols in the mask, like this.
button.
button.
The Input Mask for the Phone Number field should now look like this:
15. Use the TAB key to move across the first record until you are in the Phone
Number field.
16. Type:
3015551212
17. Press the TAB key four times to move to the next record.
The new phone number has been saved.
18. Save the Customers table, then close it.
2. Place your cursor on the divider between the Company Name and Address
1 column headings.
3. Double-click.
The Company Name column should resize to fit the widest piece of data in
that field:
TIP: Instead of double-clicking, you can also drag column heading dividers
to set column widths manually.
4. Double-click the divider between the Address 1 and Address 2 column
headings.
The Address 1 field should resize to fit the data in it.
5. Close the Customers table.
6. When the alert window appears, click the
icon.
5. Click the
button.
button.
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.
button.
button.
7. Click the
button.
9. Click the
button.
The Lookup Wizard should show how the field will look with data in it:
button.
button.
icon.
button.
16. Click in the Customer Name field, then click the drop-down arrow.
A list of customers should appear:
2. In the Field Properties section of the window, click in the Format box.
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 5s in
35546 York Ave.
Delete records
1. Right-click the row heading for Chris Happ's record.
2. In the menu that appears, click Delete Record.
button.
TIP: Once a record has been deleted from the database, it cannot be
recovered. There is no Undo feature in Access.
Find records
Navigate records
1. In the Customers table window, click the
icon.
2. Click the
icon.
icon again.
icon.
icon.
button.
3. In the Match list, click the drop-down arrow, then Any Part of Field.
4. Click the
button.
The Customers table should now look like this, with BBC highlighted:
button.
icon.
The Customers table should now look like this, with the States arranged in
ascending alphabetical order:
icon.
The Customers table should now look like this, with the Customer ID
numbers arranged in descending order:
Filter records
1. Click in the State field for customer number 1.
The Customers table should now look like this, showing all customers
whose State is Florida:
button.
Students
Classes
Elm St.
Jane
Oak St.
The Math Class table holds information about the students in math class:
Math Class
Student Name Grade
John
Jane
Math Class
Jane
button.
Add relationships
1. Place the cursor on the Title Bar at the top of the Employees table.
2. Click and drag the Employees table to place it under the Customers table.
3. Click and drag the Orders table to place it between the Customers table
and Order Details table.
4. Click the Order ID field in the Order Details table, then drag it and rest it on
top of the Order ID field in the Orders table.
button.
The Order ID field in the Orders table is linked to the Order ID field in the
Order Details table.
The same Order ID number in both tables refers to the same order.
6. Close the Relationships window.
7. When the alert window appears, click the
button.