(M6-TECHNICAL) Information System and Database - Capistrano
(M6-TECHNICAL) Information System and Database - Capistrano
CCS0001L
(INTRODUCTION TO COMPUTING)
EXERCISE
7
MS ACCESS
Section:
TI02
Professor:
Darren Cavitt
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.
2. In the pane on the right side, click Blank database.
3. Type the file name: Address Book.
4. Click Create. Note that Database files are saved inside your default Documents directory.
5. MS Access will create a table for you.
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,
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)
5. Delete the criterion under GPA Requirement field. Save the query as Students by Major.
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.
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.
• White, R. (2015). How Computer Work: The Evolution of Technology. IN: Que.