GO19_AC_INTRO_GRADER_CAP1 – Rugged Suppliers 1.0
In this project, you will apply skills you practiced from the Objectives in Access Chapters 1 through 3. You will create a database that contains inventory and supplier information. In addition, you will create queries that answer specific questions relating to the inventory items and suppliers, forms for entering and updating information, and reports.
Start Access. Open the file Student_Access_Cap1_Rugged_Sportswear.accdb downloaded with this project.
Open the Cap1 Inventory table in Design View. Rename the ID field to Item ID and change the Data Type to Short Text. Continue adding the following fields as Short Text except for Cost, which should have a Currency Data Type:
Item Name
Cost
Category
Sport
Supplier ID
Switch to Datasheet view. Enter the following two records into Cap1 Inventory:
Item ID: 305565
Item Name: Cycling Shorts
Cost: 11.59
Category: Shorts
Sport: Biking
Supplier ID: SUPP-06
Item ID: 106556
Item Name: Fingerless Bike Gloves
Cost: 12.09
Category: Socks and Gloves
Sport: Biking
Supplier ID: SUPP-01
Close the table. Append a copy of the records from the downloaded Cap1_Inventory workbook to the Cap1 Inventory table. Accept all defaults in the wizard and do not save the Import steps. Open the table, verify there are 25 records, and apply Best Fit to all fields. Save and close the table.
Import the source data from the downloaded Cap1_Suppliers workbook into a new table in the current database. In the wizard, click the First Row Contains Column Headings option and set the primary key to Supplier ID. Name the table Cap1 Suppliers. Do not save the Import steps.
Open the Cap1 Suppliers table in Design view. Delete the Fax Number field and save the table. Switch to Datasheet view and apply Best Fit to all of the fields. Save and close the table.
On the Navigation Pane, group the objects by Tables and Related Views.
Create a relationship between the two tables in the database using Supplier ID as the common field. Enforce Referential Integrity and select both Cascade options. One supplier can supply many inventory items.
Create a relationship report. Save the report with Cap1 Relationships as the name. Close the Relationships window.
Create a query in Design view, using your Cap1 Inventory table to answer the question What is the item name (in alphabetical order), cost, and category for the sport of fitness? Add the fields in that order. Do not display the Sport field in the query results. Run the query, save it as Cap1 Fitness Query, then close the query. Five records match the criteria.
Create a copy of Cap1 Fitness Query named Cap1 Hiking or Biking Shoes Query. Redesign the query design to answer the question What is the sport, item name, category, and cost for the category of shoes where the sport is hiking or biking? Arrange the fields in the order in which they’re mentioned in the question. Sort the records first in ascending order by Sport and then in Descending order by Cost. Hide the Category field so that it does not display in the results. Run and then close the query. Six records match the criteria.
Create a query in Design view, using both tables to answer the question What is the category, item name, sport, company, and phone, for a category that begins with the letter S? Add the fields in that order. Sort the records first in ascending order by the Category field and then in ascending order by the Item Name field. Run the query, save it as Cap1 S Category Query, and then close it. Eighteen records match the criteria.
Create a query in Design view, using the Cap1 Inventory table to answer the question For each item name, display the cost and calculate the markup for each item if marked up 36% of cost. In addition, calculate the retail price by adding the cost and markup? Add the fields in that order. Name the first calculated field Markup and name the second calculated field Retail Price. Run the query and apply Best Fit to all of the fields. All numeric fields should be formatted as Currency, with 2 Decimal Places. Save the query as Cap1 Markup Query and close it.
Use the Query Wizard to create a crosstab query using the Cap1 Inventory table. Set the Category field as the row headings, and set the Supplier ID field as the column headings. Count the Item ID field, and do not include row sums. Name the query Cap1 Crosstab Query and then finish the query. Run the query and apply Best Fit to all of the fields. Save and close the query.
Create a query in Design view using the Cap1 Inventory table that prompts you to enter the Supplier ID, and then answers the question What is the supplier id, sport, category, item name, and cost for inventory items, sorted in ascending order by the item name? Add the fields in that order. The query should prompt an individual to Enter the Supplier ID. Run the query, and type SUPP-04 when prompted for the criteria. Two records match the criteria. Save the query as Cap1 Parameter Query and close it.
Based on the Cap1 Suppliers table, use the Form tool to create a form. Select the form title, and apply Bold. Switch to Form view, and then using the form, add a new record as follows:
Supplier ID: SUPP-12
Company: Beach Water Sports Inc
Email Address: [email protected]
Phone: (305) 555-6543
Address: 14 South Beach Rd
City: Miami
State: FL
Postal Code: 33125
Use the Filter By Form tool to create a filter that displays records with a State of VA or FL. After verifying that two records match this criteria, toggle the filter to display all twelve records. Save the form as Cap1 Supplier Form and close it.
Based on your Cap1 Suppliers table, use the Report tool to create a new report. Delete the following fields from the report: Supplier ID, Address, City, State, and Postal Code. Delete the Page Number control. Apply the Facet theme to this object only. Sort the Company field in ascending order. For the Phone field, change the Width property to 1.25. For the Company field, change the Left property to .75 and then close the Property Sheet. Save the report as Cap1 Suppliers Report and then close the report.
Use the Report Wizard to create a report based on the Cap1 Inventory table. Add the following fields to the report: Category, Sport, and Cost, in that order. Group by the Category field. Sort in ascending order by Sport field. Find the Average of the Cost field. Be sure that the Layout is Stepped and that the Orientation is Portrait. For the report title, type Cap1 Average Cost by Category. Delete the controls that begin with Summary for ‘Category’. Under Cost, click any text box control, and then set the Width property to 1 and the Left property to 6. At the bottom of the report, in the last column, select the last control that displays the average. Set the Width property to 1 and the Left property to 6.5. Close the Property Sheet. Save and close the report.
Close all database objects. Open the Navigation Pane. Close the database, and then submit for grading.