Exercise 3

advertisement

MGMT 2080 Introduction to Information Systems

Access 3 Exercise

Problem Background:

Bart Canfield is the owner of Bart’s Basic Boating, an independent dealer in used boats located in a small town near Mille Lacs Lake in Minnesota. Bart purchases used boats at auctions, through agreements with several area new boat dealerships that do not wish to sell the trade-ins they receive, and as tradeins or direct purchases from private individuals. As the name of the business implies, Bart specializes in older, lower-priced boats, and sells mostly to first-time boat owners. Bart does sell a variety of boat styles.

Your favorite aunt, Carol Barnes, has served as Bart’s secretary and bookkeeper for seven years.

Because the business is small and seasonal, all records have been kept in manual (paper) form.

However, Carol has been developing some computerization because of the rising volume of data to collect and organize. She has created a small database called Access3_BartsBoats.accdb and has entered some sample data into the database tables to use as the basis for additional development.

Carol has asked you to help her complete the application, which you will do in Assignments 3 & 4.

The data model Carol created for this database is shown here:

INVENTORY INV_SALE SALESPERSON

STEP 1: Download the BartsBoats.accdb database from the location specified by your instructor. Open the database and establish the relationships to correspond to the model above. Be sure to establish referential integrity when you create the relationships.

STEP 2: Open each table in design view and review the metadata that Carol has created for the three tables. Open the SALESPERSON table in datasheet view and insert your name as the salesperson with

S_ID = 10.

STEP 3: As you are studying the metadata, you see an opportunity to improve the data entry process by adding a dropdown list to the Type field in the INVENTORY table. Add a two-column lookup list to the

Type field that contains the values on the next page. Col 1 should contain the values that will actually be inserted into the field.

Col 1

CC

Col 2

Cabin Cruiser

PT

RB

Pontoon

Runabout

STEP 4: There are many queries that could be included in this system. To ensure that your application can accommodate Bart’s need to answer questions quickly, include the following queries in the database:

1.

Bart likes to see a list of boats for sale by manufacturer. Retrieve a list of each manufacturer’s boats in inventory that are unsold. Include the Make, Model, Type, Length, Horsepower, Year, and Dlr_Cost in your query result. Sort first by make (ascending), then by type (ascending), then by Dlr_Cost (descending). Name the query AllUnsoldBoats.

2.

Bart likes to see a list of all boats for sale within a boat type, for example, all runabouts .

Retrieve a list of all unsold boats within each boat type category. Include the Make, Model,

Length, Horsepower, Year, and Dlr_Cost in your query result. Sort by Make (ascending), Model

(ascending), and Year (ascending). Prepare separate queries for each boat type. Name the queries UnsoldCabinCruisers, UnsoldPontoons, and UnsoldRunabouts.

3.

Bart likes to quickly look at recent boat sales by boat type. Retrieve a list of all sold boats.

Include the Type, Make, Model, Length, Horsepower, Year, Dlr_Cost, Sls_Price, and

Profit_Margin (computed as Sls_Price – Dlr-Cost). Sort by Type first (ascending), then by Profit

Margin (descending). Name the query AllSoldBoats.

STEP 5: Prepare two standard reports to be produced on a regular basis.

1.

Weekly Boat Inventory Report: Include all boats that have not been sold, sorted by type, make, and length. Hint: Since this report’s content is very similar to the AllUnsoldBoats query, make a copy of that query (named WeeklyUnsoldBoats) and then modify it to include the fields specified here.

Base your report on this new query.

Report format: Column headings shown below. Resize the columns if necessary so that the report displays on one page.

2.

Sold Boat Summary Report: Include all boats that have been sold, sorted by type, make, and length. Hint: Base this report on the AllSoldBoats query. Follow the format shown here for your report.

STEP 6: Print copies of your two reports to hand in to your instructor (stapled) on the due date of this assignment. Upload your completed database to your shared folder on Google Drive by the due date established by your instructor.

Download