Lab Instruction:: Tasting DB With MS Access
Lab Instruction:: Tasting DB With MS Access
2
This is the database that you will build
4
Step 2: Creating a blank desktop database
• If you see a
security warning
bar, click Enable
Content button.
Step 4: Create STUDENT Table and its fields I
• Set StudentNumber
as the Primary Key
of this table
Step 6: Save the STUDENT table I
• Enter STUDENT as
the table name
• Click OK
Step 6: Save the STUDENT table II
A-12
Step 7: Create CLASS and GRADE table
• Please create CLASS GRADE table following the steps used
for STUDENT
• CLASS table fields
13
Step 8: Adding Data to Tables I
• We can add data to a table by:
• Using the datasheet view (we use this)
• Using a form
• This is the data:
A-14
Step 8: Adding Data to Tables II
A-15
Step 8: Adding Data to Tables III
• Enter data for CLASS and GRADE table
• CLASS table data
16
Step 9: Creating Relationships I
• Drag StudentNumber in
STUDENT table to
StudentNumber in GRADE
table (PK-FK)
• Drag ClassNumber in
CLASS table to
ClassNumber in GRADE
table (PK-FK)
• Check Enforce Referential
Integrity in the check box
and click Create
18
Step 9: Creating Relationships III
19
Step 10: You can Report the database
• You have created a database with three tables. Let’s try create
a report.
• Go to Create -> Report Wizard and follow the instructions
• Please create a report (of your interest) that uses fields from all three
tables.
• Save the report as studentReport.pdf
20
Deliverables
• The Student_Class_Grade.accdb file (You saved it to a
directory on your computer in the previous steps)
• The studentReport.pdf file you created from the last step.
• If you are using the virtual desktop from UI, please make sure
you save both files to your student directory so that you can
access it for submission.
21