Practical 1: Create a New Database
Objective: To learn how to create a database.
Task: Create a database named School.
Steps
- Start MS Access 2007.
- Click Office Button → New.
- Select Blank Database.
- In the File Name box, type School.
- 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 Name | Data Type |
|---|---|
| RollNo | Number |
| Name | Text |
| Class | Text |
| Section | Text |
| Marks | Number |
Steps
- Open the School database.
- Click Create → Table Design.
- Enter the field names and data types.
- Set RollNo as the Primary Key.
- 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.
| RollNo | Name | Class | Section | Marks |
|---|---|---|---|---|
| 1 | Rahul | 10 | A | 75 |
| 2 | Riya | 10 | A | 88 |
| 3 | Amit | 10 | B | 65 |
| 4 | Neha | 10 | B | 92 |
| 5 | Pooja | 10 | A | 81 |
Steps
- Open the Students table.
- Enter the data in Datasheet View.
- Move from one field to another using the Tab key.
- 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.
| Field | Information |
|---|---|
| Roll No. | 6 |
| Name | Sohan |
| Class | 10 |
| Section | B |
| Marks | 78 |
Steps
- Open the Students table.
- Go to the last blank row.
- Enter the student's information.
- 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
- Open the Students table.
- Find Sohan's record.
- Click in the Marks field.
- Delete 78.
- 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
- Open the Students table.
- Select Amit's row.
- Click Home → Delete.
- 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
- Open the Students table.
- Click in the Name field.
- 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
- Open the Students table.
- Click the drop-down arrow beside Marks.
- Select Number Filters.
- Select Greater Than.
- Enter 80.
- 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
- Click Create → Query Design.
- Select the Students table.
- Add the following fields:
- Name
- Marks
- In the Criteria row under Marks, type >80.
- Click Run (!).
- 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
- Click Create → Query Design.
- Select the Students table.
- Add:
- Name
- Class
- Section
- Marks
- In the Criteria row under Section, type "A".
- Click Run.
- 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
- Select the Students table.
- Click Create → Form.
- Access automatically creates a form.
- Save it as Student Form.
Use the form to:
- View a student's information.
- Move to the next record.
- Add a new student.
- Edit information.
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.
| Field | Information |
|---|---|
| RollNo | 7 |
| Name | Anjali |
| Class | 10 |
| Section | A |
| Marks | 89 |
Steps
- Open Student Form.
- Go to a new record.
- Enter the information.
- Close the form.
- 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
- Select the Students table.
- Click Create → Report.
- Access automatically creates a report.
- Save it as Student Report.
- 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
- Select the High Marks query.
- Click Create → Report.
- Access creates a report from the query.
- Save it as High Marks Report.
- 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.
| RollNo | Name |
|---|---|
| 1 | Rahul |
| 1 | Ramesh |
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:
| Field | Data Type |
|---|---|
| RollNo | Number |
| Name | Text |
| Father's Name | Text |
| Class | Text |
| Section | Text |
| English | Number |
| Mathematics | Number |
| Science | Number |
Students have to:
- Create the database.
- Create the table.
- Set RollNo as Primary Key.
- Enter at least 10 records.
- Edit one record.
- Delete one record.
- Sort students by Name.
- Filter students according to Section.
- Create a query for students scoring more than 80 in Mathematics.
- Create a Student Form.
- Create a Student Report.
- View the report in Print Preview.
One Simple Example: Four Main Objects
Suppose a teacher has information about 50 students.
| Object | What does it do? |
|---|---|
| Table | Stores all 50 students' information. |
| Query | Finds students who scored more than 80. |
| Form | Provides an easy way for the teacher to enter a new student's information. |
| Report | Presents 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.