0% found this document useful (0 votes)
3 views2 pages

MS_Access_Exercises

The document outlines a series of exercises for creating a database in Microsoft Access focused on school management. It includes steps for creating tables for students and courses, establishing relationships, creating queries, forms, and reports, as well as implementing validation rules. Each exercise provides detailed instructions for setting up the database effectively.

Uploaded by

dankoyiet254
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

MS_Access_Exercises

The document outlines a series of exercises for creating a database in Microsoft Access focused on school management. It includes steps for creating tables for students and courses, establishing relationships, creating queries, forms, and reports, as well as implementing validation rules. Each exercise provides detailed instructions for setting up the database effectively.

Uploaded by

dankoyiet254
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Microsoft Access Exercises

Exercise 1: Creating a Database


1. Open Microsoft Access and create a new blank database.

2. Name it "School_Management.accdb" and save it.

3. Create a table named "Students" with the following fields:

Field Name Data Type Description


StudentID AutoNumber (Primary Key) Unique identifier for each
student
FirstName Short Text (50) Student's first name
LastName Short Text (50) Student's last name
DOB Date/Time Date of Birth
Gender Short Text (10) Male/Female
Course Short Text (50) Course enrolled
FeesPaid Currency Amount paid
4. Save the table and enter at least five records.

Exercise 2: Creating Relationships


1. Create a new table named 'Courses' with the following fields:

Field Name Data Type Description


CourseID AutoNumber (Primary Key) Unique identifier for each
course
CourseName Short Text (50) Name of the course
Duration Short Text (20) Course duration (e.g., 3
months)
Fees Currency Course fees
2. Establish a one-to-many relationship between Courses and Students:

- Primary Key: CourseID in Courses table

- Foreign Key: Course in Students table

3. Ensure referential integrity is enforced.

Exercise 3: Creating Queries


1. Create a query named 'StudentsByCourse' that displays all students enrolled in a specific
course (e.g., 'Computer Packages').

2. Create a query named 'OutstandingFees' that shows students who have paid less than the
full fees.

3. Create a query to count the number of students in each course.


Exercise 4: Creating Forms
1. Create a form named 'Student Entry Form' to enter student details easily.

2. Use the Form Wizard and include all fields from the Students table.

3. Add a dropdown (Combo Box) for the Course field so users can select from existing
courses.

Exercise 5: Generating Reports


1. Create a report named 'Fees Summary Report' to display:

- Student name

- Course name

- Fees paid

- Total amount due

2. Group students by Course and show the total fees collected for each course.

Exercise 6: Implementing Validation Rules


1. Set a validation rule on the Gender field to allow only 'Male' or 'Female'.

2. Ensure that the FeesPaid field does not accept negative values.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy