MICROSOFT ACCESS 2007

Practical Activities — Computer Class

Practical 1: Create a New Database

Objective: To learn how to create a database.
Task: Create a database named School.

Steps

  1. Start MS Access 2007.
  2. Click Office Button → New.
  3. Select Blank Database.
  4. In the File Name box, type School.
  5. Click Create.
Result: A new database named School.accdb is created.
Learn: Database, file name, database window.

Practical 2: Create a Student Table

Objective: To learn about tables, fields and records.
Task: Create a table named Students with the following fields:
Field NameData Type
RollNoNumber
NameText
ClassText
SectionText
MarksNumber

Steps

  1. Open the School database.
  2. Click Create → Table Design.
  3. Enter the field names and data types.
  4. Set RollNo as the Primary Key.
  5. Save the table as Students.
Result: A table named Students is created.
Learn: Table, field, data type and Primary Key.

Practical 3: Enter Student Records

Objective: To learn how to enter records.
Task: Enter the following data into the Students table.
RollNoNameClassSectionMarks
1Rahul10A75
2Riya10A88
3Amit10B65
4Neha10B92
5Pooja10A81

Steps

  1. Open the Students table.
  2. Enter the data in Datasheet View.
  3. Move from one field to another using the Tab key.
  4. Save the table.
Learn: Record, Datasheet View and data entry.

Practical 4: Add a New Record

Objective: To learn how to add information to an existing table.
Task: Add the following student.
FieldInformation
Roll No.6
NameSohan
Class10
SectionB
Marks78

Steps

  1. Open the Students table.
  2. Go to the last blank row.
  3. Enter the student's information.
  4. Press Enter.
Learn: Adding a new record.

Practical 5: Edit a Record

Objective: To learn how to modify existing information.
Task: Change Sohan's marks from 78 to 82.

Steps

  1. Open the Students table.
  2. Find Sohan's record.
  3. Click in the Marks field.
  4. Delete 78.
  5. Type 82.
Learn: Editing a record.

Practical 6: Delete a Record

Objective: To learn how to delete a record.
Task: Delete the record of Amit.

Steps

  1. Open the Students table.
  2. Select Amit's row.
  3. Click Home → Delete.
  4. Confirm the deletion.
Learn: Deleting records.
Teacher's Tip: Tell students to check the record carefully before deleting it.

Practical 7: Sort Student Names

Objective: To learn sorting.
Task: Arrange the students' names in alphabetical order.

Steps

  1. Open the Students table.
  2. Click in the Name field.
  3. Click Home → Sort & Filter → Ascending.
Result: Names are arranged from A to Z.

Now repeat the task using Descending order.

Learn: Ascending and descending sorting.

Practical 8: Filter Students

Objective: To understand filtering.
Task: Display only the students who scored more than 80 marks.

Steps

  1. Open the Students table.
  2. Click the drop-down arrow beside Marks.
  3. Select Number Filters.
  4. Select Greater Than.
  5. Enter 80.
  6. Click OK.
Result: Only students scoring more than 80 are displayed.
Learn: Filtering and criteria.

Practical 9: Create a Query

Objective: To understand the purpose of a query.
Task: Create a query to display the Name and Marks of students who scored more than 80.

Steps

  1. Click Create → Query Design.
  2. Select the Students table.
  3. Add the following fields:
    • Name
    • Marks
  4. In the Criteria row under Marks, type >80.
  5. Click Run (!).
  6. Save the query as High Marks.
Result: The query displays only students whose marks are greater than 80.
Learn: Query, field selection and criteria.

Practical 10: Create a Query for Class A

Objective: To understand text criteria.
Task: Display only students belonging to Section A.

Steps

  1. Click Create → Query Design.
  2. Select the Students table.
  3. Add:
    • Name
    • Class
    • Section
    • Marks
  4. In the Criteria row under Section, type "A".
  5. Click Run.
  6. Save the query as Section A.
Learn: Using text as query criteria.

Practical 11: Create a Student Form

Objective: To learn how forms are used.
Task: Create a form for entering student information.

Steps

  1. Select the Students table.
  2. Click Create → Form.
  3. Access automatically creates a form.
  4. Save it as Student Form.

Use the form to:

Learn: Form and user-friendly data entry.

Practical 12: Add a Student Using the Form

Objective: To understand the practical use of a form.
Task: Use Student Form to add the following student.
FieldInformation
RollNo7
NameAnjali
Class10
SectionA
Marks89

Steps

  1. Open Student Form.
  2. Go to a new record.
  3. Enter the information.
  4. Close the form.
  5. Open the Students table and check whether the new record has been added.
Learn: Forms and tables work together.

Practical 13: Create a Student Report

Objective: To learn how to present and print database information.
Task: Create a report showing all student records.

Steps

  1. Select the Students table.
  2. Click Create → Report.
  3. Access automatically creates a report.
  4. Save it as Student Report.
  5. Open the report in Print Preview.
Learn: Reports and Print Preview.

Practical 14: Create a Report from a Query

Objective: To understand how queries and reports work together.
Task: Create a report showing only students who scored more than 80.

Steps

  1. Select the High Marks query.
  2. Click Create → Report.
  3. Access creates a report from the query.
  4. Save it as High Marks Report.
  5. Open it in Print Preview.
Learn: A report can be created from a query.

Practical 15: Understand Primary Key

Objective: To understand why a Primary Key is required.
Task: Try entering the same Roll No. twice.
RollNoName
1Rahul
1Ramesh

What happens?

MS Access will not allow the same value to be entered twice in the Primary Key field.

Learn: A Primary Key must contain a unique value.

Practical 16: Mini Project – Student Database

After completing the above activities, students can do a small project.

Task: Create a database named School Records.

Create a table named Students with:

FieldData Type
RollNoNumber
NameText
Father's NameText
ClassText
SectionText
EnglishNumber
MathematicsNumber
ScienceNumber

Students have to:

  1. Create the database.
  2. Create the table.
  3. Set RollNo as Primary Key.
  4. Enter at least 10 records.
  5. Edit one record.
  6. Delete one record.
  7. Sort students by Name.
  8. Filter students according to Section.
  9. Create a query for students scoring more than 80 in Mathematics.
  10. Create a Student Form.
  11. Create a Student Report.
  12. View the report in Print Preview.

One Simple Example: Four Main Objects

Suppose a teacher has information about 50 students.

ObjectWhat does it do?
TableStores all 50 students' information.
QueryFinds students who scored more than 80.
FormProvides an easy way for the teacher to enter a new student's information.
ReportPresents the student information in a neat format for printing.

TABLE → STORE

QUERY → SEARCH

FORM → ENTER

REPORT → PRINT

This sequence makes a good first practical lesson on MS Access 2007, because students learn the concepts by actually creating one small database.