 |
Exercise Database 2-3: City Soccer League
|
What you will do: |
Create a new blank database
Create tables manually and with Table Wizard
Enter data
Create a form
Enter data using form
Print selected records from form
Create a query with Simple Query Wizard
Move columns in Query Design View
Create a report
using Report Wizard, based on a query
Print report |
Start with:
Access open
The City Soccer League needs a database to keep track of the members,
staff, teams, and officials.
You will create several tables and database objects to help them manage
this information.
- Create a new blank database.
-
Save it as
citysoccer.mdb
- Tables:
- Create a table named Teams in Design View.
Fields:
- TeamID - AutoNumber field
- TeamName - Text
- Coach - Text
- TeamColors - Text
Teams
|
TeamName |
Coach |
TeamColors |
|
Fireballs |
Garcia |
yellow, red |
|
Lightning |
Wagner |
orange, white |
|
Wolves |
Vega |
black,
gold |
|
Tornadoes |
Yamoto |
blue,
yellow |
|
Sharks |
Black |
green,
orange |
|
Piranhas |
Simmons |
blue,
red |
|
Bulls |
Sanchez |
yellow, green |
|
Mustangs |
Miller |
white,
blue |
|
no
team |
|
|
- Create a table named Members using the Table Wizard with
the Mailing List sample table.
Choose the following fields from the sample table:
- MailingListID (the primary key)
- First Name
- Last Name
- Address
- City
- State/Province
- Postal Code
- Country/Region
- Home Phone
- Work Phone
- Mobile Phone
- Email Address
- Change the field MailingListID to be called MemberID.
- Edit the
property Caption
in Table Design view to read Member ID.
Add new fields:
- TeamID - Lookup field from Teams table. Select the
TeamID and
TeamName fields for the list.
Hide the AutoNumber field.
Set the
number of items to show in the list to 9, which is the number of
records in the Teams table.
- Team Position - Text
- Relationships: Create a relationship between the two tables,
joining with the TeamID.
- Form:
- Create a form based on the table Members.
- Save the form with the name Members Form.
- Use the form to enter the records below.
Printable version of table below. (Use
Landscape orientation when printing the table.)
|
Members |
First Name |
Last
Name |
TeamID |
Team Position |
Address |
City |
State/ Province |
Postal Code |
Country/ Region |
Email Address |
Home Phone |
Work Phone |
Mobile Phone |
| Luis |
Garcia |
Fireballs |
Coach |
555 West Oak St. |
Nashville |
TN |
37889 |
USA |
lgarcia@worldtravelinc.net |
615-555-4567 |
615-555-8965 |
615-555-9992 |
| Sam |
Wagner |
Lightning |
Coach |
11235 Mimosa Ave. |
Hendersonville |
TN |
38556 |
USA |
samtheman@jegsworks.com |
615-555-7745 |
615-555-6633 |
615-555-8242 |
| Jorge |
Vega |
Wolves |
Asst. Coach |
55 West Willow Ave. |
Franklin |
TN |
38777 |
USA |
coachvega@jegsworks.com |
615-555-4422 |
615-555-9964 |
615-555-4876 |
| Al |
Yamoto |
Wolves |
Coach |
235 Willow Road Apt. 443 |
Franklin |
TN |
38777 |
USA |
aly@jegsworks.com |
615-555-8884 |
615-555-6645 |
615-555-2234 |
| Marvin |
Black |
Tornadoes |
Coach |
102 South Pine St. |
Nashville |
TN |
38546 |
USA |
blacky@jegsworks.com |
615-555-2215 |
|
615-555-4421 |
| Jacquiline |
Simmons |
Sharks |
Coach |
3310 Westchester Dr. Apt. 2 |
Antioch |
TN |
38564 |
USA |
jackies@jegsworks.com |
615-555-7788 |
615-555-7788 |
615-555-8456 |
| Jorge |
Sanchez |
Piranhas |
Coach |
89 Loma Ave SW |
Columbia |
TN |
38567 |
USA |
sanchez_jorge@jegsworks.com |
615-555-2200 |
615-555-3310 |
615-555-0045 |
| Frieda |
Miller |
Bulls |
Coach |
1123 Maple Dr. |
Smyrna |
TN |
38665 |
USA |
mamamiller@jegsworks.com |
615-555-7770 |
615-555-7770 |
615-555-2223 |
| Manuel |
Vega |
Mustangs |
Coach |
992 Pine Circle Apt. 4 |
Nashville |
TN |
38223 |
USA |
vegamanuel@jegsworks.com |
615-555-4422 |
|
615-555-8887 |
| Tad |
Gunter |
Fireballs |
Player |
|
|
|
|
USA |
|
615-555-4423 |
|
|
| Alexander |
Green |
Fireballs |
Player |
|
|
|
|
USA |
|
615-555-9996 |
|
|
| Jack |
Akimbo |
Fireballs |
Player |
|
|
|
|
USA |
|
615-555-4447 |
|
|
| Joan |
Popov |
Fireballs |
Player |
|
|
|
|
USA |
|
615-555-0032 |
|
|
| Lynn |
Landers |
Fireballs |
Player |
|
|
|
|
USA |
|
615-555-6665 |
|
|
| George |
Landers |
No team |
Official |
55 Lauderdale Ave. |
Antioch |
TN |
38645 |
USA |
glanders@jegsworks.com |
615-555-8877 |
615-555-4466 |
615-555-2233 |
| Justin |
Wagner |
Wolves |
Player |
11235 Mimosa Ave |
Hendersonville |
TN |
38556 |
USA |
|
615-555-7745 |
|
|
| Dustin |
Harvey |
Wolves |
Player |
|
|
|
|
USA |
|
615-555-4466 |
|
|
| Crystal |
Williams |
Wolves |
Player |
|
|
|
|
USA |
|
615-555-8811 |
|
| |