Create a relationship between the two tables

Assignment Help Other Subject
Reference no: EM132401475

Capstone Exercise

The Morris Arboretum in Chestnut Hill, Pennsylvania tracks donors in Excel. They also use Excel to store a list of plants in stock. As donors contribute funds to the Arboretum, they can elect to receive a plant gift from the Arboretum. These plants are both rare plants and hard-to-find old favorites, and they are part of the annual appeal and membership drive to benefit the Arboretum's programs.

The organization has grown. and the files are too large and inefficient to handle in Excel. You will begin by importing the files from Excel into a new Access data-base. Then you will create a table to track donations, create a relationship between the two tables, and create some baseline queries.

Create a New Database

You will examine the data in the Excel worksheets to determine which fields will become the primary keys in each table and which fields will become the foreign keys.

a. Open the a02c1Donors Excel workbook, examine the data. and close the workbook.

b. Open the a02c1Plants Excel workbook. examine the data. and close the workbook.

c. Create a new. blank database named a02c1Arbor_ LastFirst. Close the new blank table created automatically by Access without saving it.

Import Data from Excel

Vou wail import rpm Excel vivirtbooks into the datahaw.

a. click the Enrrnal Data tab and click Excel in the Import & link group.

b. Navigate to and select the 40 2c 1 Donors workbook to hi imported.

c. Select the First Row Contains Column Ilcadings option.

d. Set the l)onorlD field Indexed option to Yes (No Duplicates).

e. Choose DonorH) as the primary key when prompted and accept the table name Donors.

f. Import the a02c1 Plants workbook, set the ID field as the primary key. and then change the indexing option to Yes (No Duplicates).

g. Accept the table name Plants.

h. Change the Ill field name in the Plants table to PlantID.

i. Open each table in Datasheet view to examine the data. Close the tables.

Create a New Table

You will create a new table to track the donations as they are received from the donors.

a. You will create a new table in Design view and save the table as Donations.

b. Add the following fields in Design view and set the properties as specified:

• Add the primary key field as Donation1D with the Number Data Type and a field size of Long Integer.

• Add DonorlD (a foreign key) with the Number Data Type and a field size of Long Integer.

• Add PlantID (a foreign key) as a Number and a field size of Long Integer.

• Add DtheOlDonation as a Date/Time field.

• Add AmountOIDonatton as a Currency field.

c. Switch to Datasheet view, and save the table when prompted. You will enter data into the table in a later step. Close the table.

Create Relationships

You will create the relationships between the tables using the Relationships window.

a. Open the Donors table in Design view and change the Field Size property of DonorlD to Long Integer so it matches the Field Size property of DonorlD in the Donations table. Save and close the,table.

b. Open the Plants table in Design view and change the  Field Size property for Plant ID to Long Integer so it matches the Field Size property for Plantin in the Donations table. Save and close the table.

C. Identify the primary key fields in the Donors table and the Plants table and join them with their foreign key counterparts in the related Donations table. Enforce referential integrity and cascade and update related fields. Save and close the Relationships window.

Add Sample Data to the Donations

Table

You will add 10 records to the Donations table.

a. Add the following records to the Donations table:

Donation ID Donor ID

Plant ID

Date of
' Donation

Amount of Donation

10

8228

611

3/1/2018

$150

18

5448

190

3/1/2018

$ 55

6

4091

457

3/12/2018

$125

7

11976

205

3/14/2018

$100

I

1000

25

3/17/2018

$120

12

1444

38

3/19/2018

$ 50

2

1444

38

4/3/2018

$ 50

4

10520

49

4/12/2018

$ 60

5

3072

102

4/19/2018

$ 50

21

1204

25

4/22/2018

$ 120

b. Sort the Donations table by the Amount0fDonation field in descending order. Close the table.

Use the Query Wizard

You xvill create a query of all donations greater than $100 in the Donations table.

a. Add the DonorlD and AmountOlDonation fields from Donations (in that order).

b. Save the query as Donations Over 100.

c. Add criteria to include only donations of more than $100.

d. Sort the query results in ascending order by AmountOlDonation.

e. Run the query.

f. Save and close the query.

Create a Query in Design View

You will create a query that identifies donors and donations.

a. Create a query that identifies the people who made a donation after April 1. 2018. This list will be given to the Arboretum staff so they can notify the donors that a plant is ready for pickup. The query should list the date of the donation, donor's full name (LastName  FirstName). phone number, the amount of the donation, and name of the plant they want (in that order). Add the tables and fields necessary to produce the query

b. Sort the query by date of donation in descending order. then by donor last name in ascending order.

c. Run, close, and save the query as Plant Pickup List.

Copy and Modify a Query in Design View

You will copy a query and modify it to add and sort by a different field.

a. Copy the Plant Pickup List query and paste it using ENewsletter as the query name.

b. Open the /Newsletter query in Design view and delete the DateolDonation column.

c. Add the ENewsletter field to the first column of the design grid and set it to sort in ascending order. so that the query sorts first by ENewsletter and then by Last Naive.

d. Run. save. and close the query. Close the database and exit Access. Based on your instructor's directions. submit LastFirst.

Attachment:- Data File.rar

Reference no: EM132401475

Questions Cloud

Assignment - Managing Projects : Assignment - Managing Projects. Outline the role of a project manager. What are their main objectives? Make a list of their duties in your workplace
What is the probability that a randomly-selected : Bag bag of tulip bulbs purchase from a nursery contains 25 red tulip bulbs, 30 yellow tulip bulbs, add 45 tulip bulbs.
Predicting the future : How many data points must we have before we are certain about predicting the future?
Linear relationship between the weight of the mail : A large mail-order house believes that there is a linear relationship between the weight of the mail it receives and the number of orders to be filled.
Create a relationship between the two tables : The Morris Arboretum in Chestnut Hill, Pennsylvania tracks donors in Excel. They also use Excel to store a list of plants in stock. As donors contribute funds.
Analyze the internal and external environment : Analyze the internal and external environment, as well as the performance and strategy used by the organization's leaders in marketing, finance and operations
Concentration of dopamine in the brains of several rats : The mean concentration was 1,249 ng/gm and the standard deviation was 145 ng/gm.
How many calls would we simulate for a particular day : If we had the random number .396, how many calls would we simulate for a particular day?
What is the probability of rejecting the null hypothesis : Consider the test with hypotheses H0 : µ = 4 vs. Ha : µ > 4 if the population mean is actually 4 and the planned significance level is a = 0.02.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd