SlideShare a Scribd company logo
DeVry University
Student Lab Activity
BIS245 Database Essentials for Business with Lab
A. Student Name:
B. Lab 5A ER Matrix:
Student
Course
Student
none
Enrolls in;
Mandatory
One or more
Course
Is taken by:
Optional
One or more
none
Page 1 of 11
A. Lab # : BSBA BIS245A-5B
B. Lab 5B of 7: Completing Forms
C. Lab Overview--Scenario/Summary
TCO(s):
5. Given a physical database containing tables and
relationships, create
forms which demonstrate effective user-interface design and
allow for
efficient entry and retrieval of data.
Scenario/Summary
The lab begins with creating a form in Access using the Form
Wizard. After the
form is created, the user can use Themes to change the
appearance of the form.
The second part of the lab uses Form Design to create a form.
Finally, the form
will be customized.
Upon completing this lab, you should be able to
• create a form using the Form Tool;
• create a form using Form Design; and
• create a form using the Form Wizard.
D. Deliverables
Submit the MS Access Database file that contains the forms
created in this lab.
Step Deliverable Points
1 Form 1 – Form Tool - step-by-step 5
2 Form 2 – Form Design – step-by-step 5
3 Form 3 – Form Wizard—Employee/Customers Multi-Table
Form
– step-by-step
5
4 Form 4 – Suppliers and Products Multi-Table Form 10
E. Lab Steps
Preparation
1. Get the Database from Doc Sharing
Page 2 of 11
a. Download the Lab5_Start.accdb Northwind database file from
your
course Doc Sharing panel (Labs view), and Save the file to your
local
drive.
2. Using Citrix for MS Visio and/or MS Access
a. If you are using the Citrix remote lab, follow the login
instructions
located in the iLab tab in Course Home.
b. You will have to upload the Lab5_Start.accdb file to your
Citrix folder.
Follow the instructions located on the iLab tab in Course Home.
3. Start MS Access
a. If you are using Citrix, click on Microsoft Office
Applications folder.
b. If you are using Visio on a local computer, select Microsoft
Office from your
Program Menu.
Lab
Step 1: Using the Form Tool
Select Employees table as in the following figure. You will see
the Employees
table highlighted.
Click the Create tab, and then click the Form tool.
Page 3 of 11
After clicking the Form button, a new form is created by
Access.
The appearance of the form can be easily modified using the
Themes option on
the Design ribbon. As you move your cursor over the various
themes, the form
will adjust to preview how the modified form would look. You
may select any
theme for your form.
Click the Save button to save the form. Name it Lab5_Form1,
and then close the
form.
Step 2: Using the Form Design
Page 4 of 11
Click the Create tab; then, click on Form Design. (Make sure
that you do not
have any of the tables selected in the Tables list on the left side
of the screen.)
After clicking the Form Design, a new form will be shown as
the following
Page 5 of 11
Click the Add Existing Fields
option, and then click Show All
Tables to show all the tables in
the database. Drag and drop
fields from the Customer table
to the form. You can also
double click the fields that you
want to add. Select a number
of fields from the Customers
table. Adjust the location of the
fields. Then, click the Form
option in the View list to see
the form. The View button is
highlighted at the right.
After viewing the form, click the View button again, and select
Design View to go
back to form design. Save the form as Lab5_Form2.
Step 3: Creating Multi-Table Forms
You can incorporate data from several tables in a single form.
In this step, you
will create a form that displays data concerning one employee.
The form will also
Page 6 of 11
display data concerning the many customers that your
employees serve. This
type of relationship between employees and customers is called
one-to-many
relationships (one employee serving many customers). In this
relationship, the
Employees table is the “one” table and the Customers table is
the “many” table.
To create a multi-table form using the Form Wizard
• click the Create tab, then select the Form Wizard; and
• make sure that Customers table is selected in the
Table/Queries box.
• Select CustomerID, CompanyName, ContactName,
ContactTitle, Address,
City, Region, PostalCode, Country, and Phone Fields from
Customers table.
• Back in the Tables/Queries, click on the down arrow and
select Employees
table. See illustration on next page.
Page 7 of 11
• Select EmployeeID, LastName, FirstName, Photo, and
ReportsTo from that
table, then click Next button.
• Make sure that by Employees is selected in “How do you want
to view your
data?”
• You also have the option to select Form with subform(s) or
Linked forms.
Select Form with subform(s), then click Next.
Page 8 of 11
• In the next screen, you have the option of selecting the layout
of your
subform. Select Tabular, and then click Next.
• Assign a title to your form (Lab5_Form3) and subform
(Lab5_Subform3),
and click finish.
• Click on View, and then view the form in Form View.
Page 9 of 11
Before closing the form, go to Design View, and change the
Caption
property for the form to Employees. (See below.) Return to
Form View
before saving your form.
Page 10 of 11
In Form View your form should display nine records, showing
employees and the
customers that they serve. These records can be cycled through
on using the
navigation options available on the lower left of the application
screen.
You will be prompted to save changes when closing the form.
Say Yes to save
changes at the prompt, and close the form.
Step 4: Create a Multi-Table Form
Following instructions provided in Step 3, create a multi-table
form, showing what
products are supplied by which supplier.
Requirements: There is ONE Supplier for MANY Products. You
must display the
following fields: SupplierID, CompanyName, ContactName,
ContactTitle, Address,
City, Region, PostalCode, Country, and Phone fields along with
ProductID,
ProductName, and CategoryID.
Page 11 of 11
Your form should look like the following
There should be 29 records in your suppliers, each providing
numerous products.
Save your form as Lab5_form4, and the Subform as
Lab5_Subform4.
Step 5: Submit Deliverables
Save your MS Access Lab5_Start.accdb file as
YourName_Lab5_ Final.accdb
Submit the Access file created during this assignment to the
Dropbox located on
the silver tab at the top of this page. (See Syllabus/"Due Dates
for Assignments &
Exams" for due dates.)
End of Lab 5B
Page 1 of 5
A. Lab # : BSBA BIS245A-5A
B. Lab 5A of 7 : Database design using Visio, and based on data
requirements
and business rules focusing on normalizing data to third normal
form.
C. Lab Overview--Scenario/Summary:
TCO(s):
2. Given a situation containing entities, business rules, and data
requirements,
create the conceptual model of the database using a database
modeling tool.
Scenario:
You have been asked to create a database model using the MS
Visio Database
Model Diagram Template. The purpose of this lab is to provide
experience
normalizing the database to third normal form based on limited
instructions, data
requirements, and associated business rules.
Upon completing this lab, you will be able to
1. create a new Visio file for database design; and
2. using the data requirements and the business rules provided,
develop a
conceptual model (ERD), including attribute data types and
required field
lengths.
D. Deliverables
Section Deliverable Points
Step 1 YourName_Lab5A_ERMatrix.docx
Step 3 YourNameLab5A.vsd (Visio Diagram)
E. Lab Steps
Preparation
1. Get the Lab5A_ERMatrix.docx document from Doc Sharing:
a. Download the Lab5A_ERMatrix document file from your
course Doc
Sharing panel (Labs view), and Save the file to your local drive.
2. Using Citrix for MS Visio and/or MS Access
a. If you are using the Citrix remote lab, follow the login
instructions
located in the iLab tab in Course Home.
3. Start MS Visio
a. Open Microsoft Office, Visio application, or
b. if you are using Citrix, click on Microsoft Office
Applications folder
to start Visio.
Page 2 of 5
Lab
Step 1: Identify the entities and relationships.
a. Over the past four weeks, you have created ERDs based on
information
provided. This week, you will complete the ERD being sure to
normalize it to
3NF (third normal form). Normalization is the systematic
application of rules
designed to eliminate redundancy from the database. Data in
previous weeks
was, to some extent, normalized for you. This week, it is not.
An abbreviated
list of the data requirements follows.
College Scheduling Data Requirements
Student ID
Student First Name
Student Last Name
Course Code
Course Name
Course Description
Course Credit Hours
Course Time
Course Days
Instructor ID
Instructor First Name
Instructor Last Name
Room Number
Room Capacity
b. Open the Word file in the Week 5 Lab Materials,
Lab5A_ERMatrix.docx
c. Save the Word file as YourName_Lab5A_ERMatrix.
d. An ER Matrix helps define both the entities and the
relationships between the
entities. Using the partially completed ER Matrix below as a
guide, complete
the matrix.
Hint: You should end up with four entities.
1. List each entity both across and down.
2. Determine whether a relationship exists between entities and
define that
relationship with a verb phrase. (NOTE: The entity with the
greatest
number of related entities is usually the center of the ER
diagram.)
3. Identify minimum (Optional or Mandatory) and maximum
(only one, or one
or more).
Page 3 of 5
Student Course
Student none Enrolls in;
Mandatory
One or
more
Course Is taken by:
Optional
One or
more
none
e. Save the completed matrix to submit as part of your lab.
Step 2: Create the initial ERD based on the matrix.
a. Open a new blank Database Model Diagram in Visio. If you
need assitance with
this, refer to the Week 1 Lab Instructions. Be sure that all
options are set
consistent to those used in previous weeks so that you generate
your model in
Crow’s Foot notation.
b. One of the issues in denormalized data is that it can result in
many-to-many
relationships that are not compatible with the relational
database. Visio does
not allow creation of a many-to-many relationship because of
this
incompatibility. Therefore, for any many-to-many relationships
in your data,
you will need to create two one-to-many relationships. See the
example
below:
Page 4 of 5
c. Based on the information from Step 1, create the initial ERD
for the College
Scheduling database including the many-to-many relationships.
If you need
assistance to create the entities, refer to labs from Weeks 1 and
2.
d. Assign the primary keys and attributes from the data
requirements to the
proper entities.
e. Save the file as YourName_Lab5A.vsd.
Step 3: Normalize the database
a. While the initial ERD is accurate, if you design a database
without deviating
from it, you will encounter problems. For example, a course is
offered many
times. If you use the course code, for example BIS245, as the
primary key,
you will only be able to list the course once. There are three
possible solutions.
1. Assign another primary key, such as an auto-number field, so
that
the course can be listed multiple times. However, this is not
acceptable because it introduces redundancy rather than
reducing it.
2. Use a composite primary key consisting of the Course Code
and the
Section code. If you create a unique section code (EXAMPLE:
YearTerm_Section or 2010SpringA_A), then you can list the
course
repeatedly. Again, this introduces redundancy, and is not an
acceptable solution.
3. Split the table to create two tables. To stay consistent with
DeVry
terminology, create a second Section table. To ensure that a
course is
not entered twice, you might modify the Section code to include
the
course: BIS245_2010SpringA_A. By consistently using this
format,
you should not be able to duplicate the section, and can avoid a
complicated composite key. However, as the Section table will
serve
as an associative entity, it is acceptable to borrow the primary
keys of
the parent tables.
b. Open the Visio file from Step 2, and add a new page. Change
the page tab to
read Revised. Revise the initial ERD based on the following
information.
1. A Course may exist without being offered. It exists in the
catalog.
Courses are scheduled for a term and given a section. It is the
schedule course (Section) that students enroll in, that are
scheduled
in rooms and assigned instructors.
2. A Student can exist without being enrolled in a course.
3. An Instructor can exist without being assigned to teach a
course.
4. A Room can exist without being scheduled for a course.
c. Save the file with your revised ERD.
Page 5 of 5
Lab 5A Final Deliverables
a. YourName_Lab5A_ERMatrix.docx (Word Document) from
Lab 5A Step 1
b. YourName_Lab5A.vsd (Visio Diagram) from Lab 5A Step 3.
Submit these files to the Week 5 iLab Dropbox.
END OF LAB

More Related Content

DOCX
Page 1 of 11 A. Lab # BSBA BIS245A-5B B.docx
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
Page 1 of 11 A. Lab # BSBA BIS245A-5B B.docx
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix

Similar to DeVry UniversityStudent Lab ActivityBIS245 Database Essentials.docx (20)

DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis245 week 5 i lab devry university er diagram and er matrix
DOCX
Bis 245
DOCX
Page 1 of 6 A. Lab # BSBA BIS245A-3 B. Lab.docx
PPT
Keller bis-245-week-5-lab-er-diagram-and-er-matrix-new
DOCX
Bis 245 week 5 lab – er diagram and er matrix
PDF
BIS 245 HOMEWORK Introduction Education--bis245homework.com
PDF
BIS 245 HOMEWORK Redefined Education--bis245homework.com
PDF
BIS 245 HOMEWORK Become Exceptional--bis245homework.com
PDF
BIS 245 HOMEWORK Lessons in Excellence--bis245homework.com
PDF
BIS 245 Redefined Education--bis245.com
DOCX
BIS 245 Lessons in Excellence / bis245.com
PDF
BIS 245 OUTLET Introduction Education--bis245outlet.com
PDF
BIS 245 OUTLET Inspiring Innovation--bis245outlet.com
PDF
BIS 245 OUTLET Achievement Education--bis245outlet.com
DOCX
Bis 245 week 4 lab – er diagram
ODT
Bis 245 week 4 lab er diagram (keller)
PPT
Access introduction
PPTX
Advanced Microsoft Access 2010 Training on MS
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis245 week 5 i lab devry university er diagram and er matrix
Bis 245
Page 1 of 6 A. Lab # BSBA BIS245A-3 B. Lab.docx
Keller bis-245-week-5-lab-er-diagram-and-er-matrix-new
Bis 245 week 5 lab – er diagram and er matrix
BIS 245 HOMEWORK Introduction Education--bis245homework.com
BIS 245 HOMEWORK Redefined Education--bis245homework.com
BIS 245 HOMEWORK Become Exceptional--bis245homework.com
BIS 245 HOMEWORK Lessons in Excellence--bis245homework.com
BIS 245 Redefined Education--bis245.com
BIS 245 Lessons in Excellence / bis245.com
BIS 245 OUTLET Introduction Education--bis245outlet.com
BIS 245 OUTLET Inspiring Innovation--bis245outlet.com
BIS 245 OUTLET Achievement Education--bis245outlet.com
Bis 245 week 4 lab – er diagram
Bis 245 week 4 lab er diagram (keller)
Access introduction
Advanced Microsoft Access 2010 Training on MS
Ad

More from duketjoy27252 (20)

DOCX
Discussion questions – Twain, The Man That Corrupted Hadleyburg.docx
DOCX
Discussion Questions The difficulty in predicting the future is .docx
DOCX
Discussion questions – Dunbar Paul Lawrence Dunbar was a pio.docx
DOCX
Discussion Questions Identify the top three threats to the home.docx
DOCX
Discussion questions – Hurston Zora Neal Hurston attended Ho.docx
DOCX
Discussion Questions Compare and contrast through a critical an.docx
DOCX
Discussion questions (self evaluation)Examine nursing roles th.docx
DOCX
Discussion QuestionReflecting on what you have learned abou.docx
DOCX
Discussion questionMotivation is the all-ensuing mechanism t.docx
DOCX
Discussion QuestionHow much, if any, action on ergonomics in th.docx
DOCX
Discussion QuestionConsider a popular supplement you andor y.docx
DOCX
Discussion QuestionDiscuss opportunities for innovation and en.docx
DOCX
Discussion Question(s)Im interested in the role of women-- in t.docx
DOCX
Discussion Question(s)Why do you think that Native Allies and Af.docx
DOCX
Discussion Question(This post must be at least 200 words.)What d.docx
DOCX
Discussion Question(s)What were the colonial misgivings about m.docx
DOCX
Discussion Question(s)The reading for this week was a grab bag o.docx
DOCX
Discussion Question(s)Could Latin American reactions to the Bour.docx
DOCX
Discussion Question(s)Clearly there is potential for major probl.docx
DOCX
Discussion Question Week #1·         Discover which agencies, in.docx
Discussion questions – Twain, The Man That Corrupted Hadleyburg.docx
Discussion Questions The difficulty in predicting the future is .docx
Discussion questions – Dunbar Paul Lawrence Dunbar was a pio.docx
Discussion Questions Identify the top three threats to the home.docx
Discussion questions – Hurston Zora Neal Hurston attended Ho.docx
Discussion Questions Compare and contrast through a critical an.docx
Discussion questions (self evaluation)Examine nursing roles th.docx
Discussion QuestionReflecting on what you have learned abou.docx
Discussion questionMotivation is the all-ensuing mechanism t.docx
Discussion QuestionHow much, if any, action on ergonomics in th.docx
Discussion QuestionConsider a popular supplement you andor y.docx
Discussion QuestionDiscuss opportunities for innovation and en.docx
Discussion Question(s)Im interested in the role of women-- in t.docx
Discussion Question(s)Why do you think that Native Allies and Af.docx
Discussion Question(This post must be at least 200 words.)What d.docx
Discussion Question(s)What were the colonial misgivings about m.docx
Discussion Question(s)The reading for this week was a grab bag o.docx
Discussion Question(s)Could Latin American reactions to the Bour.docx
Discussion Question(s)Clearly there is potential for major probl.docx
Discussion Question Week #1·         Discover which agencies, in.docx
Ad

Recently uploaded (20)

PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
master seminar digital applications in india
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Classroom Observation Tools for Teachers
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Complications of Minimal Access Surgery at WLH
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Sports Quiz easy sports quiz sports quiz
master seminar digital applications in india
VCE English Exam - Section C Student Revision Booklet
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
FourierSeries-QuestionsWithAnswers(Part-A).pdf
RMMM.pdf make it easy to upload and study
Classroom Observation Tools for Teachers
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Complications of Minimal Access Surgery at WLH

DeVry UniversityStudent Lab ActivityBIS245 Database Essentials.docx

  • 1. DeVry University Student Lab Activity BIS245 Database Essentials for Business with Lab A. Student Name: B. Lab 5A ER Matrix: Student Course Student none Enrolls in; Mandatory One or more Course Is taken by: Optional One or more none
  • 2. Page 1 of 11 A. Lab # : BSBA BIS245A-5B B. Lab 5B of 7: Completing Forms C. Lab Overview--Scenario/Summary TCO(s): 5. Given a physical database containing tables and relationships, create forms which demonstrate effective user-interface design and allow for efficient entry and retrieval of data. Scenario/Summary The lab begins with creating a form in Access using the Form Wizard. After the form is created, the user can use Themes to change the appearance of the form. The second part of the lab uses Form Design to create a form.
  • 3. Finally, the form will be customized. Upon completing this lab, you should be able to • create a form using the Form Tool; • create a form using Form Design; and • create a form using the Form Wizard. D. Deliverables Submit the MS Access Database file that contains the forms created in this lab. Step Deliverable Points 1 Form 1 – Form Tool - step-by-step 5 2 Form 2 – Form Design – step-by-step 5 3 Form 3 – Form Wizard—Employee/Customers Multi-Table Form – step-by-step 5 4 Form 4 – Suppliers and Products Multi-Table Form 10 E. Lab Steps Preparation 1. Get the Database from Doc Sharing Page 2 of 11
  • 4. a. Download the Lab5_Start.accdb Northwind database file from your course Doc Sharing panel (Labs view), and Save the file to your local drive. 2. Using Citrix for MS Visio and/or MS Access a. If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home. b. You will have to upload the Lab5_Start.accdb file to your Citrix folder. Follow the instructions located on the iLab tab in Course Home. 3. Start MS Access a. If you are using Citrix, click on Microsoft Office Applications folder. b. If you are using Visio on a local computer, select Microsoft Office from your Program Menu. Lab Step 1: Using the Form Tool Select Employees table as in the following figure. You will see the Employees table highlighted.
  • 5. Click the Create tab, and then click the Form tool. Page 3 of 11 After clicking the Form button, a new form is created by Access. The appearance of the form can be easily modified using the Themes option on the Design ribbon. As you move your cursor over the various themes, the form will adjust to preview how the modified form would look. You may select any theme for your form. Click the Save button to save the form. Name it Lab5_Form1, and then close the form. Step 2: Using the Form Design Page 4 of 11
  • 6. Click the Create tab; then, click on Form Design. (Make sure that you do not have any of the tables selected in the Tables list on the left side of the screen.) After clicking the Form Design, a new form will be shown as the following Page 5 of 11 Click the Add Existing Fields option, and then click Show All Tables to show all the tables in the database. Drag and drop fields from the Customer table to the form. You can also double click the fields that you want to add. Select a number of fields from the Customers table. Adjust the location of the fields. Then, click the Form option in the View list to see
  • 7. the form. The View button is highlighted at the right. After viewing the form, click the View button again, and select Design View to go back to form design. Save the form as Lab5_Form2. Step 3: Creating Multi-Table Forms You can incorporate data from several tables in a single form. In this step, you will create a form that displays data concerning one employee. The form will also Page 6 of 11 display data concerning the many customers that your employees serve. This type of relationship between employees and customers is called one-to-many relationships (one employee serving many customers). In this relationship, the Employees table is the “one” table and the Customers table is the “many” table. To create a multi-table form using the Form Wizard • click the Create tab, then select the Form Wizard; and • make sure that Customers table is selected in the Table/Queries box.
  • 8. • Select CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, and Phone Fields from Customers table. • Back in the Tables/Queries, click on the down arrow and select Employees table. See illustration on next page. Page 7 of 11 • Select EmployeeID, LastName, FirstName, Photo, and ReportsTo from that table, then click Next button. • Make sure that by Employees is selected in “How do you want to view your data?” • You also have the option to select Form with subform(s) or Linked forms. Select Form with subform(s), then click Next.
  • 9. Page 8 of 11 • In the next screen, you have the option of selecting the layout of your subform. Select Tabular, and then click Next. • Assign a title to your form (Lab5_Form3) and subform (Lab5_Subform3), and click finish. • Click on View, and then view the form in Form View. Page 9 of 11 Before closing the form, go to Design View, and change the Caption property for the form to Employees. (See below.) Return to Form View before saving your form.
  • 10. Page 10 of 11 In Form View your form should display nine records, showing employees and the customers that they serve. These records can be cycled through on using the navigation options available on the lower left of the application screen. You will be prompted to save changes when closing the form. Say Yes to save changes at the prompt, and close the form. Step 4: Create a Multi-Table Form Following instructions provided in Step 3, create a multi-table form, showing what products are supplied by which supplier.
  • 11. Requirements: There is ONE Supplier for MANY Products. You must display the following fields: SupplierID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, and Phone fields along with ProductID, ProductName, and CategoryID. Page 11 of 11 Your form should look like the following There should be 29 records in your suppliers, each providing numerous products. Save your form as Lab5_form4, and the Subform as Lab5_Subform4. Step 5: Submit Deliverables Save your MS Access Lab5_Start.accdb file as YourName_Lab5_ Final.accdb Submit the Access file created during this assignment to the Dropbox located on
  • 12. the silver tab at the top of this page. (See Syllabus/"Due Dates for Assignments & Exams" for due dates.) End of Lab 5B Page 1 of 5 A. Lab # : BSBA BIS245A-5A B. Lab 5A of 7 : Database design using Visio, and based on data requirements and business rules focusing on normalizing data to third normal form. C. Lab Overview--Scenario/Summary: TCO(s): 2. Given a situation containing entities, business rules, and data requirements, create the conceptual model of the database using a database modeling tool. Scenario: You have been asked to create a database model using the MS Visio Database
  • 13. Model Diagram Template. The purpose of this lab is to provide experience normalizing the database to third normal form based on limited instructions, data requirements, and associated business rules. Upon completing this lab, you will be able to 1. create a new Visio file for database design; and 2. using the data requirements and the business rules provided, develop a conceptual model (ERD), including attribute data types and required field lengths. D. Deliverables Section Deliverable Points Step 1 YourName_Lab5A_ERMatrix.docx Step 3 YourNameLab5A.vsd (Visio Diagram) E. Lab Steps Preparation 1. Get the Lab5A_ERMatrix.docx document from Doc Sharing: a. Download the Lab5A_ERMatrix document file from your course Doc Sharing panel (Labs view), and Save the file to your local drive. 2. Using Citrix for MS Visio and/or MS Access a. If you are using the Citrix remote lab, follow the login
  • 14. instructions located in the iLab tab in Course Home. 3. Start MS Visio a. Open Microsoft Office, Visio application, or b. if you are using Citrix, click on Microsoft Office Applications folder to start Visio. Page 2 of 5 Lab Step 1: Identify the entities and relationships. a. Over the past four weeks, you have created ERDs based on information provided. This week, you will complete the ERD being sure to normalize it to 3NF (third normal form). Normalization is the systematic application of rules designed to eliminate redundancy from the database. Data in previous weeks was, to some extent, normalized for you. This week, it is not. An abbreviated list of the data requirements follows. College Scheduling Data Requirements
  • 15. Student ID Student First Name Student Last Name Course Code Course Name Course Description Course Credit Hours Course Time Course Days Instructor ID Instructor First Name Instructor Last Name Room Number Room Capacity b. Open the Word file in the Week 5 Lab Materials, Lab5A_ERMatrix.docx c. Save the Word file as YourName_Lab5A_ERMatrix. d. An ER Matrix helps define both the entities and the relationships between the entities. Using the partially completed ER Matrix below as a guide, complete the matrix. Hint: You should end up with four entities. 1. List each entity both across and down. 2. Determine whether a relationship exists between entities and define that relationship with a verb phrase. (NOTE: The entity with the greatest
  • 16. number of related entities is usually the center of the ER diagram.) 3. Identify minimum (Optional or Mandatory) and maximum (only one, or one or more). Page 3 of 5 Student Course Student none Enrolls in; Mandatory One or more Course Is taken by: Optional One or more none e. Save the completed matrix to submit as part of your lab. Step 2: Create the initial ERD based on the matrix.
  • 17. a. Open a new blank Database Model Diagram in Visio. If you need assitance with this, refer to the Week 1 Lab Instructions. Be sure that all options are set consistent to those used in previous weeks so that you generate your model in Crow’s Foot notation. b. One of the issues in denormalized data is that it can result in many-to-many relationships that are not compatible with the relational database. Visio does not allow creation of a many-to-many relationship because of this incompatibility. Therefore, for any many-to-many relationships in your data, you will need to create two one-to-many relationships. See the example below: Page 4 of 5 c. Based on the information from Step 1, create the initial ERD for the College Scheduling database including the many-to-many relationships. If you need
  • 18. assistance to create the entities, refer to labs from Weeks 1 and 2. d. Assign the primary keys and attributes from the data requirements to the proper entities. e. Save the file as YourName_Lab5A.vsd. Step 3: Normalize the database a. While the initial ERD is accurate, if you design a database without deviating from it, you will encounter problems. For example, a course is offered many times. If you use the course code, for example BIS245, as the primary key, you will only be able to list the course once. There are three possible solutions. 1. Assign another primary key, such as an auto-number field, so that the course can be listed multiple times. However, this is not acceptable because it introduces redundancy rather than reducing it. 2. Use a composite primary key consisting of the Course Code and the Section code. If you create a unique section code (EXAMPLE: YearTerm_Section or 2010SpringA_A), then you can list the course repeatedly. Again, this introduces redundancy, and is not an
  • 19. acceptable solution. 3. Split the table to create two tables. To stay consistent with DeVry terminology, create a second Section table. To ensure that a course is not entered twice, you might modify the Section code to include the course: BIS245_2010SpringA_A. By consistently using this format, you should not be able to duplicate the section, and can avoid a complicated composite key. However, as the Section table will serve as an associative entity, it is acceptable to borrow the primary keys of the parent tables. b. Open the Visio file from Step 2, and add a new page. Change the page tab to read Revised. Revise the initial ERD based on the following information. 1. A Course may exist without being offered. It exists in the catalog. Courses are scheduled for a term and given a section. It is the schedule course (Section) that students enroll in, that are scheduled in rooms and assigned instructors. 2. A Student can exist without being enrolled in a course. 3. An Instructor can exist without being assigned to teach a course. 4. A Room can exist without being scheduled for a course.
  • 20. c. Save the file with your revised ERD. Page 5 of 5 Lab 5A Final Deliverables a. YourName_Lab5A_ERMatrix.docx (Word Document) from Lab 5A Step 1 b. YourName_Lab5A.vsd (Visio Diagram) from Lab 5A Step 3. Submit these files to the Week 5 iLab Dropbox. END OF LAB