(M6-TECHNICAL) Information System and Database (MENDOZA)
(M6-TECHNICAL) Information System and Database (MENDOZA)
CCS0001L
(INTRODUCTION TO COMPUTING)
EXERCISE
7
MS ACCESS
Section:
TS01
Professor:
I. PROGRAM OUTCOME/S (PO) ADDRESSED BY THE LABORATORY EXERCISE
Apply knowledge through the use of current techniques and tools necessary for the IT profession [PO: I]
Understand best practices and standards and their applications. [PO: M]
This lab will help you become familiar with the environment of MS Access as well as its various features.
Correctness of Output The output is correctly The output has some The output contains
(60 pts) done and shows that the errors possibly because many errors due to
instructions to some instructions were many instructions not
accomplish the activity missed or not done followed or missed.. (1
is well followed. (41 – correctly. (21 – 40 pts) – 20 pts)
60 pts)
Starting Access
1. Launch your Microsoft Access program.
4. Click Create. Note that Database files are saved inside your default Documents directory.
1. Click the View icon on the ribbon to create the first table in the Design View, save the table under
the name “Student”.
2. Enter the following field names and data types, set field properties, and send Primary Key.
Field Name Data Type / Property
ID (Primary Key) Short Text
Last Name Short Text
First Name Short Text
Major Text
Units Number
(Field Size: Integer)
GPA Number
(Field Size: Single,
Format: Fixed,
Decimal Places: 2)
1. Click the Database Tools tab, then click Relationships icon. . A Show Table dialog will
show, select Student table then click Add button. Do the same with the Major table.
2. Select the Major Name field in the Major table, drag and drop it on the Major field in the Student table.
3. The Edit Relationships dialog will show. Check the Enforce Referential Integrity box then clock Create
button. A line will show connecting the two fields with the sign “1” and “∞”, this indicates that the relationship
is one-to-many.
1. Click the Create tab in the ribbon, the Query Design . What appears is an Object Window called
Query-by-Example (QBE) together with the familiar Show Table dialog box. Add both the Major and Student
table to the QBE then close the Show Table dialog.
2. Double-click or drag and drop the following fields (in this order): Last Name, First Name from Students table,
Major Name from Major table, GPA from Students table, and GPA Requirement from Major table, to the
bottom part of the QBE window.
3. Specify a select criterion by typing >[GPA] in the Criteria of the GPA Requirement field.
4. Run the query by clicking the Run icon . (Paste a screen shot of your result below this item)
Creating a Form
1. Go to the Create tab in the ribbon then click Wizard Form icon .
2. In the Form Wizard dialog, select Table: Major under Tables/Queries. Click the button to include all
the fields from the Major table.
3. In the Tables/Queries, select Table: Student. Click several times to include the following fields: ID,
Last Name, First Name, Units, and GPA. Do not include the Major field.
4. Click Next, then Finish to view your form.
5. Switch to Design View. Modify the form title and make other layout/format adjustments, e.g. Fonts, location of
objects, etc. Switch back to Form View to see the effects of the changes you made.
6. Save the form. Notice the MS Access saved the main form (Major) and the subform (Student) separately.
Creating Report
1. Click the Report Wizard icon from the Create tab in the ribbon.
2. Select Query: Students by Major under Tables/Queries, then click to include all fields in the report.
3. Click Next. Select Major from the active drop-down selection, then click Next button twice.
4. Type List of Students by Major as the title of the report and click Finish. This will show you a preview of
your report. You can switch to Design View if you want to do more changes (font, position, etc.) to your report.
Upload your database file together with this activity file as your submission for this Laboratory
Activity.
II. REFERENCES
Docter, Q., Dulaney, E., & Skandier, T. (2016). CompTIA + Complete Study Guide (3rd Edition)
Meyers, M. (2016). All In One CompTIA A+ Certification. Mc Graw Hill.
Pearson. (2016). Introduction to Computers and Information Technology. Upper Saddle River, NJ: Pearson.
Tavani, H. T. (2016). Ethics and Technology. Wiley.