MIS homework

mark39
MIS3003Chapter7HomeworkInstruction.pptx

MIS 3003 Chapter 7

Homework Instructions

Be careful! All instructions here are not for your homework questions, but just some very similar questions!!!

Question

Figure AE-8 is a sample bill of materials, a form that shows the components and parts used to construct a product. In this example, the product is a child’s wagon. Such bills of materials are an essential part of manufacturing functional applications as well as ERP applications.

This particular example is a form produced using Microsoft Access. Creating such a form is a bit tricky, so this exercise will guide you through the steps required. You can then apply what you learn to produce a similar report. You can also use Access to experiment on extensions of this form.

Question

Create a table named PART with columns PartNumber, Level, Description, QuantityRequired and PartOf. Description and Level should be text, PartNumber should be AutoNumber, and QuantityRequired and PartOf should be numeric, long integer. Add the PART data shown in Figure AE-8a to your table.

In this homework, we will learn how to create from an empty table.

Create an empty database, right click the default created table, choose design view.

In the “Save As” Dialog, name the Table “PART”

Change the name of “ID” into “PartNumber”, it’s our primary key.

Add all other fields: Level, Description, QuantityRequired, and part of.

You can change the data type in Field Propertities, QuantityRequired, part of should be numeric, long integer, Description and Level should be text

Save and right click the PART table, choose datasheet view.

Now you can enter the data records.

4

11

Question

Create a query that has all columns of PART. Restrict the view to rows having a value of 1 for Level. Name your query Level1.

Create two more queries that are restricted to rows having values of 2 or 3 for Level. Name your queries Level2 and Level3, respectively.

12

Question

Create a form that contains PartNumber, Level, and Description from Level1. You can use a wizard for this if you want. Name he form Bill of Materials.

16

Question

Select the Subform/Subreport tool in the Controls section of the DESIGN ribbon and create a subform in your form in part d. Set the data on this form to be all of the column of Level2. After you have created the subform, ensure that the Link Child Fields property is set to PartOf and that the Link Master Fields property is set to PartNumber. Close the Bill of Materials form.

Right click Bill of Materials title, choose Design View.

Drag the footer line, give an empty space in Details area.

Select from Design ribbon, choose subform button.

Click in any empty area in Details Part

A SubForm Wizzard dialog will show up.

Select Query: Level2, and add all fields into right.

Choose “Define my own”, under From/report fields: choose PartNumber, under Subform, choose PartOf.

We want to make the subform’s PartOf field equal to PartNumber.

You can go back to form view to check the result.

20

Question

Open the subform created in part e and create a subform on it using the Subform/Subreport control. Set the data on this subform to be all of the columns of Level3. After you have created the subform, ensure that the Link Child Fields property is set to PartOf and that the Link Master Fields property is set to PartNumber. Close the Bill of Materials form.

Select Level2 subform, go to design view.

Repeat the previous steps again, to create the Level3 subform.

30

Upload to d2l

I will need you to upload only the access database to dropbox.