0% found this document useful (0 votes)
13 views

Module 3

Module 3

Uploaded by

bea macatangay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Module 3

Module 3

Uploaded by

bea macatangay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Module 3: Introduction to Microsoft Access

Lesson Objectives:

 Understand the purpose and basic functionality of Microsoft Access.


 Learn how to create and manage a simple database.
 Familiarize with key concepts such as tables, queries, forms, and
reports.

1. Introduction to Microsoft Access

 Overview:
o Explain what Microsoft Access is: a database management
system (DBMS) that allows users to store, manage, and
retrieve data efficiently.
o Discuss the key differences between a spreadsheet (e.g., Excel)
and a database (e.g., Access).
 Key Concepts:
o Database: A structured set of data held in a computer,
especially one that is accessible in various ways.
o Table: The primary building block of a database that stores
data in rows and columns.
o Query: A way to search and retrieve specific data by applying
filters or criteria.
o Form: A user-friendly interface for data entry and navigation.
o Report: A formatted output of database queries, typically used
for presenting data.
 Real-World Applications:
o Highlight examples of how businesses use Microsoft Access for
managing customer data, inventory, and sales tracking.

**2. Getting Started with Microsoft Access

 Creating a New Database:


o Walkthrough on creating a new database file.
o Discuss naming conventions and file organization.
 Understanding the Ribbon and Navigation Pane:
o Overview of the Ribbon interface: Home, Create, External Data,
Database Tools tabs.
o Navigation Pane: Accessing different database objects (tables,
queries, forms, reports).

**3. Working with Tables

 Creating a Table:
o Explain how to define fields (columns) with data types (Text,
Number, Date/Time, etc.).
o Discuss primary keys and their importance in uniquely
identifying records.
 Entering Data:
o Demonstrate how to enter data directly into a table and how to
navigate between records.
 Modifying Table Structure:
o Show how to add, delete, and modify fields.
o Discuss field properties (e.g., field size, format, input mask).

**4. Introduction to Queries

 Creating a Simple Query:


o Guide students through creating a query using the Query
Design tool.
o Explain how to select fields, set criteria, and sort results.
 Running and Saving Queries:
o Demonstrate how to execute a query and interpret the results.
o Discuss how to save and reuse queries.

**5. Introduction to Forms

 Creating a Form:
o Explain the purpose of forms in data entry and data
management.
o Walkthrough on creating a form using the Form Wizard and
Design View.
 Customizing Forms:
o Show how to add controls like text boxes, buttons, and combo
boxes.
o Discuss formatting options to enhance the form's usability.

**6. Introduction to Reports

 Creating a Report:
o Guide students through creating a report using the Report
Wizard.
o Explain how to organize data in a report for printing and sharing.
 Customizing Reports:
o Demonstrate how to adjust layout, add headers/footers, and
format text and numbers.

Hands-on Activities:

Activity 1: Creating a Simple Database

 Objective: Create a database for a small library.


 Instructions:
o Create a table named "Books" with fields: BookID (Primary Key),
Title, Author, Genre, and YearPublished.
o Enter at least 10 records into the table.
 Expected Outcome: A basic database containing book information.

Activity 2: Designing a Query

 Objective: Create a query to find books published after the year


2015.
 Instructions:
o Use the "Books" table and design a query to filter records
where YearPublished > 2015.
 Expected Outcome: A query that lists books published after 2015.
Activity 3: Building a Form

 Objective: Design a form for easy data entry of book records.


 Instructions:
o Create a form based on the "Books" table, customize it with text
boxes for each field, and add a submit button.
 Expected Outcome: A user-friendly form for entering new books into
the database.

Activity 4: Generating a Report

 Objective: Generate a report that lists all books grouped by Genre.


 Instructions:
o Use the Report Wizard to create a report that organizes books
by Genre and includes BookID, Title, and Author.
 Expected Outcome: A neatly formatted report ready for printing or
sharing.
Detailed Lesson:

Lesson 1: Introduction to Microsoft Access

Objective: Understand the purpose and basic functionality of Microsoft


Access.

Steps:

1. Open Microsoft Access:


o Navigate to the Start menu or search bar, type “Microsoft
Access,” and click to open the application.
2. Overview of the Interface:
o Introduce students to the Access start screen, where they can
choose to create a new database or open an existing one.
o Highlight the Ribbon, which contains tabs like Home, Create,
External Data, and Database Tools.
o Point out the Navigation Pane on the left side, where database
objects such as Tables, Queries, Forms, and Reports are listed.
3. Difference Between Spreadsheet and Database:
o Explain that spreadsheets (like Excel) are good for simple, flat
data structures, while databases (like Access) are better for
managing complex, related data across multiple tables.
4. Real-World Examples:
o Discuss how companies use databases to manage customer
data, sales, and inventory, contrasting this with simple
spreadsheet use.

Lesson 2: Getting Started with Microsoft Access

Objective: Learn to create a new database and understand the basic


elements of Access.

Steps:

1. Create a New Database:


o Click on “Blank Database” on the Access start screen.
o In the “File Name” field, type a name for your database, e.g.,
“LibraryDatabase.accdb.”
oChoose a location to save the file by clicking the folder icon and
navigating to your desired folder.
o Click “Create” to generate the new database.
2. Understanding the Ribbon:
o Explain the different tabs:
 Home: Basic operations like Cut, Copy, Paste, and
Sorting.
 Create: Options for creating new database objects
(Tables, Queries, Forms, Reports).
 External Data: Import and export data from/to other
sources.
 Database Tools: Advanced tools for managing the
database.
3. Navigation Pane:
o Show students how to use the Navigation Pane to view and
organize tables, queries, forms, and reports.
o Explain that as they create new objects, they will appear in this
pane.

Lesson 3: Working with Tables

Objective: Learn how to create tables, define fields, and enter data.

Steps:

1. Create a Table:
o Go to the Create tab and click on “Table.”
o Access will create a new table in Datasheet View, which is a
spreadsheet-like view for data entry.
o Explain the default ID field, which is automatically set as the
primary key. You can rename this field to “BookID” by double-
clicking on the column header.
2. Define Fields:
o Click on the “Click to Add” column header to add new fields
(columns) to your table. Choose the appropriate data type for
each field:
 Title (Short Text)
 Author (Short Text)
 Genre (Short Text)
 YearPublished (Number or Date/Time, depending on
preference)
o To rename a field, right-click on the column header and select
“Rename Field.”
3. Set Primary Key:
o The BookID field should already be set as the primary key,
indicated by a key icon next to it. If not, right-click on the
BookID field and select “Primary Key.”
4. Enter Data:
o Begin entering data directly into the table by clicking in the cells
under each column. Enter at least 10 records with relevant
information about books.
5. Save the Table:
o Click on the “Save” icon in the Quick Access Toolbar (top left)
or press Ctrl + S.
o Name the table “Books” and click “OK.”

Lesson 4: Introduction to Queries

Objective: Learn to create and run a simple query to retrieve specific data.

Steps:

1. Create a Query:
o Go to the Create tab and select “Query Design.”
o In the Show Table dialog, double-click on “Books” to add it to
the query design grid, then close the dialog.
2. Select Fields:
o In the query design grid, double-click on each field you want to
include in the query results (e.g., BookID, Title, Author,
YearPublished).
o The selected fields will appear in the lower part of the grid.
3. Set Criteria:
o Under the YearPublished field, in the “Criteria” row, type
>2015 to filter the results to show only books published after
2015.
4. Run the Query:
oClick the “Run” button (red exclamation point) on the Ribbon to
execute the query.
o The query results will display only the books published after
2015.
5. Save the Query:
o Save the query by clicking on the “Save” icon or pressing Ctrl +
S.
o Name the query “BooksAfter2015” and click “OK.”

Lesson 5: Introduction to Forms

Objective: Learn to create a form for easy data entry.

Steps:

1. Create a Form:
o In the Create tab, click “Form Wizard.”
o In the Form Wizard dialog, select the “Books” table.
o Move all fields (BookID, Title, Author, Genre, YearPublished) to
the selected fields list and click “Next.”
2. Choose a Layout:
o Choose a layout for the form, such as “Columnar” or “Tabular,”
and click “Next.”
3. Name the Form:
o Name the form “BooksEntryForm” and click “Finish.”
o The form will open in Form View, allowing you to enter new
records into the “Books” table.
4. Customize the Form:
o Switch to Design View (right-click on the Form tab and select
“Design View”).
o Add controls such as text boxes, combo boxes, and buttons by
using the tools in the Design tab.
5. Save the Form:
o Save your customized form by clicking on the “Save” icon or
pressing Ctrl + S.

Lesson 6: Introduction to Reports


Objective: Learn to create a report to present data.

Steps:

1. Create a Report:
o In the Create tab, select “Report Wizard.”
o In the Report Wizard dialog, select the “Books” table.
o Move all fields to the selected fields list and click “Next.”
2. Grouping and Sorting:
o Choose to group by “Genre” to organize books by genre.
o Click “Next” and then choose to sort by “Title” in ascending
order.
3. Select Layout:
o Choose a layout style (e.g., “Stepped” or “Block”) and click
“Next.”
4. Name the Report:
o Name the report “BooksByGenreReport” and click “Finish.”
o The report will open in Print Preview, showing the formatted list
of books grouped by genre.
5. Customize and Save the Report:
o Switch to Design View to customize the report layout if needed.
o Save the report by clicking on the “Save” icon or pressing Ctrl +
S.

You might also like