MIS 311 Fall 2017 /Access Assignment
You work for a non-profit organization that accepts donations from individual donors and disseminates them through multiple agencies. Until now, data on donors, donations, and agencies used to be tracked in Excel files. Now, your manager asks you to create a database to store and process data.
Instructıons
Create the database and name itXYZDonationsTeamX.accdb. X should indicate the teammembers’ last names.Only the teammembers whose lastnames mentioned in the filename will get a grade.
“Donor” table:
Import donor data from the Excel file and name the table Donor. During the import, make sure that the table has the proper primary key and the primary key is marked correctly such as Required Yes and Indexed / No duplicates (you can also modify that after transfer)
Once you import the data from Excel, check the data type, mark the field properties as below:
Field Name
|
Data Type
|
Field Size
|
DonorID
|
Number
|
Long Integer
|
Title
|
S. Text
|
4
|
FirstName
|
S. Text
|
20
|
LastName
|
S. Text
|
25
|
Phone
|
S. Text
|
14
|
Add a new field for YearofBirth that indicates the year part of the birthdate of the donor. Assign correct data type and field size. Enter date values.
“Agency” table:
Import agency data from the Excel file and name the table Agency. During the import, make sure that the table has the proper primary key and the primary key is marked correctly such
as Required Yes and Indexed / No duplicates (you can also modify that after transfer)
Once you import the data from Excel, check the data type, mark the field properties as below:
Field Name
|
Data Type
|
Field Size
|
AgencyID
|
S. Text
|
3
|
AgencyName
|
S. Text
|
40
|
ContactFirstName
|
S. Text
|
20
|
ContactLastName
|
S. Text
|
25
|
Address
|
S. Text
|
30
|
City
|
S. Text
|
24
|
State
|
S. Text
|
2
|
Zip
|
Number
|
Long Integer
|
Phone
|
S. Text
|
14
|
Add 2 new records (meaningful not xyz or abc) to the Agency table, and then save the table.
“Donation” table:
Import donation data from the Excel file and name the table Donation. During the import, make sure that the table has the proper primary key and the primary key is marked correctly such as Required Yes and Indexed / No duplicates (you can also modify that after transfer)
Once you import the data from Excel, check the data type, mark the field properties as below and note the foreign keys under description:
Field Name
|
Data Type
|
Description
|
Field Size
|
Other
|
DonationID
|
Number
|
|
Long Integer
|
|
DonorID
|
Number
|
|
Long Integer
|
|
AgencyID
|
S. Text
|
|
3
|
|
DonationDate
|
Date/Time
|
|
|
Format: Short Date
|
DonationDescription
|
Long Text
|
|
|
|
DonationValue
|
Currency
|
|
|
Format = Currency
Decimal Places = 2
|
PickupRequired
|
Yes/No
|
|
|
Format = Yes/No
|
Add below records to the Donation table and save the table. (Hint: My date settings are MM/DD/YYYY. Yours might be DD/MM/YYYY or DD.MM.YYYY depending on how your machine was installed. Check your Access settings and enter data accordingly)
Donation ID
|
Donor ID
|
Agency ID
|
Donation Date
|
Donation Description
|
Donation Value
|
Pickup Required
|
2217
|
36012
|
A82
|
12/25/2011
|
Cash
|
50
|
YES
|
2222
|
36016
|
A64
|
11/11/2011
|
Cash
|
35
|
YES
|
2300
|
36001
|
A82
|
1/31/2013
|
Cash
|
30
|
NO
|
Define the relationships between Agency, Donor and Donation tables (Hint: You will set only two relationships and be careful about setting it correctly). Save the changes to the Relationships window.
“Donations by Donor” query:
Create a list of donations by donors. Display the Donor ID, First Name, and Last Name of the donor, donation date, and donation value in this given order. Sort the query results first by the donor’s last name in ascending order, the donor’s first name in ascending order, and then the donation value from smallest to largest. Save the query asDonations by Donor.
“Large Cash Donations in Q1” query:
Create a list of donations that are in cash, value more than or equals to $60 and donated in the first quarter of 2010. Display the Donor ID, First Name, and Last Name of the donor, donation date and donation value in this given order. Save the query asLarge Cash Donations in Q1.
“Clothes or Junction City Donations” query:
Create a list of donations of clothes or donations made in Junction City only. Display Donation ID, Donation Date, and Donation Description, Agency ID, Agency Name, City in this given order. Apply relevant criteria. Sort the query results first by City then by Donation Description in ascending order. Save the query asClothes or Junction City Donations.
“Donation Statistics by Agency” query:
Create a list of donations by Agency. Display the sum, the average, the maximum and the count of donation value grouped by Agency Name that should appear as the first field. Rename the columns as Total Donations, Average Donation, Maximum Donation and Number of Donations. Sort the query results Total Donations in descending order. Save the query asDonation Statistics by Agency.
“Donors without Donations” query:
You will call the registered donors who did not make any donation yet. (Hint: Identify donors in the Donor table who have no matching records in the Donation table.) Display the Donor ID, Title, First Name, Last Name, and Phone. Save the query asDonors without Donations.
“Donors and Donations Report” report:
Create a report of donations grouped by donors. Display the Title, First Name, and Last Name of the donor, and the Donation Date, Donation Value and Donation Description. Group on DonorID from smallest to largest. Show the sum of donation value for each donor at the group footer, and the grand total of donations at the report end. Do not show the date at the end of the report, but display page number at the end of each page. Insert a note (label) describing the report and the names of the team members (i.e. employees) who generated the report. Save the report asDonors and Donations.
“Agency Info” form:
Create a form to enter modify agency records. Insert date/time, one picture / logo / image, and a note indicating that the form was designed by x,y,z. Be creative to make the form more user friendly. Save the form asAgency Info.
">