Sunteți pe pagina 1din 3

MS Access Case Project 5 Project Deadline: 11:59 pm June 17, 2018

This project is presented as a case. That is, you will be told what tasks to complete, but not given
specific instructions as to how to complete each task. In other words, this is your opportunity to
demonstrate that you can apply what you have learned in the previous four projects.

In this project you will download the provided MS Access database, and then proceed to complete
the following tasks using this database. Once having done so, you will upload your completed
database file to the designated D2L assignment submission folder.

Project Context
Diane Coleman is a successful businesswoman in Dallas, Georgia, but things were not always that
way. Diane experienced trying times and fortunately had people in the community come into her life
to assist her and her children when times were difficult. To give back to her community and support
those in need, Diane has created a community center in Dallas where those in need can come in for
goods and services. She has also opened a thrift store to sell and auction donated items to support
the center. Diane has created an Access database to manage information about the center’s patrons
and donations. Diane now wants to create several queries and to make changes to the table design
of the database. You’ll help Diane by completing the following tasks:

Setup
Create a folder named MS Access Project 5, and download the following file to that folder:

Project 5 Database (Last Name, First Name).accdb

Edit the name of the Project 5 Database file to include your Last Name and First Name, as indicated.
Do not otherwise alter the name of the file!

Task 1
Modify the first record in the tblPatron table datasheet by changing the Title, FirstName, and
LastName column values to your title and name. Close the table.

Task 2
Create a query to find all records in the tblDonation table that were cash donations. Display the
DonationID, PatronID, DonationDate, and DonationValue fields in the query recordset. Sort by
descending order by DonationValue. Save the query as qryCashDonations, run the query, and then
close it.

Task 3
Create a query to find all records in the tblDonation table in which the item donated is a potential
auction item. Display the DonationID, PatronID, DonationDate, Description, and DonationValue
fields from the tblDonation table. Sort in ascending order by DonationDate. Save the query as
qryPotentialAuctionItems, run the query, and then close it.

Task 4
Create a query called qryDonationsSeptemberOrLater that will contain all fields from the
tblDonation and tblPatron tables except for PatronID and DonationID, for all donations that are on

Derivative Source: New Perspectives Access 2016 | Module 5: SAM Project 1b | Cengage Learning
or after September 1, 2017. Sort this query by DonationValue in descending order. Save and run the
query, and then close it.

Task 5
Create a query to display all records from the tblPatron table, selecting the Title and Phone fields.
Add a calculated field named PatronName that concatenates FirstName, a space, and LastName.
Position this column as the second column, and sort the recordset in ascending order by LastName.
Set the Caption property for the PatronName field to Patron Name. Save the query as
qryPatronNames, run the query, resize the new column to its best fit, and then save and close the
query.

Task 6
Create a parameter query to select the tblDonation table records for a Description field value that
contains a phrase the user specifies. If the user doesn’t enter a Description field phrase value, select
all records from the table. Display all fields from the tblDonation table in the query recordset, and
sort in ascending order by Description. Save the query as qryDonationParameter. Run the query and
enter no value as the Description phrase field value, and then run the query again and enter clothes
as the Description field phrase value. Close the query.

Task 7
Create a crosstab query based on the qryDonationsSeptemberOrLater query. Use the DonationDate
field values for the row headings, the CashDonation field values for the column headings, and the
sum of the DonationValue field values as the summarized value, and include row sums. Save the
query as qryDonationsSeptemberOrLaterCrosstab. Change the format of the displayed values to
Fixed. Change the column headings to Cash and NonCash. Resize the columns in the query recordset
to their best fit, and then save and close the query.

Task 8
Create a find duplicates query based on the qryDonationsSeptemberOrLater query. Select FirstName
and LastName as the fields that might contain duplicates, and select the CashDonation and
DonationValue fields in the query as additional fields in the query recordset. Save the query as
qryMultipleDonorDonations, run the query, and then close it.

Task 9
Create a find unmatched query that finds all records in the tblPatron table for which there is no
matching record in the tblDonation table. Include all fields from the tblPatron table, except for
PatronID, in the query recordset. Save the query as qryPatronsWithoutDonations, run the query,
and then close it.

Task 10
Make a copy of the qryDonationsSeptemberOrLater query using the new name qryTopDonations.
(Hint: Be sure to copy the correct query and not the qryDonationsSeptemberOrLaterCrosstab
query.) Modify the new query by using the Top Values property to select the top 40 percent of the
records. Save and run the query, and then close the query.

Task 11
Use the Input Mask Wizard to add an input mask to the Phone field in the tblPatron table. The
ending input mask should use hyphens as separators, as in 987-654-3210, with only the last seven
digits required; do not store the literal display characters, if you are asked to do so. Test the input

Derivative Source: New Perspectives Access 2016 | Module 5: SAM Project 1b | Cengage Learning
mask by typing over an existing Phone field value, being sure not to change the value permanently
by pressing the Esc key after you type the last digit in the Phone field. Close the table.

Task 12
Save and close any open objects in your database. Compact and repair your database, close it, and
then exit Access. Upload your completed database file to your designated Project 5 assignment
submission folder in D2L.

The End!

Derivative Source: New Perspectives Access 2016 | Module 5: SAM Project 1b | Cengage Learning