31 Jan The Metropolitan Zoo tracks its animal data in Excel. The organization decides to use a database to organize the data about the animals, their trainers, and the animal exhibits. In this pr
Exp19_Access_Ch2_Cap – Metropolitan Zoo 1.0
Project Description:
The Metropolitan Zoo tracks its animal data in Excel. The organization decides to use a database to organize the data about the animals, their trainers, and the animal exhibits. In this project, you will open an existing database and create a new table. You will import an Excel file containing information about the animals, and query the database to determine which animals need a checkup. You will also create a query to obtain a listing of the animals in each exhibit.
Start Access. Open the downloaded Access file named Exp19_Access_Ch2_Cap_Zoo.accdb. Grader has automatically added your last name to the beginning of the filename. Save the file to the location where you are storing your files.
Create a new table in Design view. Add the field name ExhibitID with the AutoNumber Data Type. Add the caption Exhibit ID. Set the ExhibitID field as the primary key for the table. Save the table using the name Exhibits.
Add the following fields and set their field properties as shown:
Field Name
Data Type
Field Size Property
Caption
ExhibitName
Short Text
15
Exhibit Name
Acres
Number
Integer
(none)
InitialCost
Currency
(no change)
Initial Cost
YearlyCost
Currency
(no change)
Yearly Cost
DateOpened
Date/Time
(no change)
Date Opened
Show
Yes/No
(no change)
(none)
Switch to Datasheet view and save the table. Add the following records, letting Access assign the Exhibit ID:
Exhibit Name
Acres
Initial Cost
Yearly Cost
Date Opened
Show
Asia
2
2000000
300000
1/15/2011
Yes
Africa
4
3500000
500000
2/3/2014
Yes
The Americas
3
1500000
250000
5/15/2005
No
Close the table.
Import the downloaded Zoo.xlsx workbook as a new table in the current database. Using the Import Spreadsheet Wizard, specify that the first row contains column headings, set the AnimalID field to be indexed with no duplicates, and set the AnimalID field as the primary key. Import the table with the name Animals and do not save the import steps.
View the Animals table in Design view, and change the field size for the AnimalID field to Long Integer. Change the field sizes for the ExhibitID and TrainerID fields to Long Integer. Save the table. Click Yes in the dialog box indicating that some data may be lost. Close the table.
Begin establishing relationships in the database by adding the Animals, Exhibits, and Trainers tables to the Relationships window. Close the Show Table dialog box. Resize the field lists so that all fields display. Create a one-to-many relationship between the ExhibitID field in the Exhibits table and the ExhibitID field in the Animals table, enforcing Referential Integrity. Select the option to cascade update the related fields.
Create a one-to-many relationship between the TrainerID field in the Trainers table and the TrainerID field in the Animals table, enforcing Referential Integrity. Select the option to cascade update the related fields. Save and close the Relationships window.
Create a query using the Simple Query Wizard. From the Animals table, add the AnimalID, AnimalType, and DateOfLastCheckup fields (in that order). Ensure the query is a Detail query. Name the query Checkup List and finish the wizard.
View the query in Design view, and then set the criteria for the DateOfLastCheckup field so that only animals whose last checkup was before 1/1/2022 are displayed.
Sort the query in ascending order by the DateOfLastCheckup field. Save the query. Run the query, and then close the query.
Create a new query in Design view. Add the Animals, Exhibits, and Trainers tables to the query design window. Add the following fields to the query (in this order):
AnimalType
Origin
ExhibitName
FirstName
LastName
Position
Set The Americas as the criteria for the ExhibitName field and sort the query in ascending order by Origin. Run the query, and save the query as Americas Exhibit. Close the query.
Copy the Americas Exhibit query in the Navigation Pane and paste it with the name Asian Exhibit. Modify the query in Design view to replace The Americas with Asia. Run the query, save the query, and close the query.
Close all database objects. Close the database and then exit Access. Submit the database as directed.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Wridemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.