In this article Forms in MS Access we give the complete explanation of Forms, Reports, and Modules in MS Access, ideal for understanding or creating a full-fledged database system:

  1. Forms in MS Access

What is a Form?

A Form is a user-friendly interface for data entry, editing, and viewing records from one or more tables or queries. It’s like a visual front-end for the database.

Purpose of Forms:

  • Simplifies data entry and navigation
  • Enhances user interaction
  • Can include buttons, dropdowns, checkboxes
  • Supports validation and macros/VBA

Types of Forms:

Form Type Use
Single Form Shows one record at a time
Continuous Form Shows multiple records (like a table)
Split Form Combines form view and datasheet view
Navigation Form Acts as a menu or dashboard for switching between other forms/reports

Create a Form Using Wizard:

  1. Go to Create → Form Wizard.
  2. Select a table or query (e.g., Students).
  3. Choose the fields you want to include.
  4. Select the form layout (Columnar, Tabular, Datasheet, etc.).
  5. Name and finish.

You can now customize it using Design View (add labels, buttons, images).

  1. Reports in MS Access

What is a Report?

A Report is a printable output of data—designed to display, summarize, and analyze information from your database in a structured, often stylized, format.

Purpose of Reports:

  • Summarize data for printing or exporting (PDF/Excel)
  • Show grouped or sorted data
  • Include totals, averages, counts
  • Format content for professional presentation

Types of Reports:

Report Type Description
Simple Report Lists all data from a table/query
Grouped Report Groups records (e.g., by Course)
Summary Report Contains totals, averages, counts
Labels Report Useful for mailing labels or ID cards

Create a Report Using Wizard:

  1. Go to Create → Report Wizard.
  2. Choose table/query and fields to display.
  3. Group or sort data if needed.
  4. Select layout (Stepped, Block, Outline).
  5. Name and finish.

You can adjust layout/design using Report Design View.

  1. Modules in MS Access

What is a Module?

A Module is a collection of VBA (Visual Basic for Applications) code that can be used to automate tasks, create custom functions, or handle complex logic not achievable by macros alone.

Types of Modules:

Type Description
Standard Module Contains general procedures and functions accessible from anywhere.
Class Module Associated with forms/reports (like an embedded code section).

When to Use Modules:

  • Create custom functions (e.g., GetStudentStatus())
  • Automate processes with event-driven code
  • Handle advanced validations
  • Replace or extend macro functionality

How to Create a Module:

  1. Go to Create → Module.
  2. The VBA editor opens.
  3. Write code like:

Public Function GetStudentStatus(Marks As Integer) As String

If Marks >= 40 Then

GetStudentStatus = “Pass”

Else

GetStudentStatus = “Fail”

End If

End Function

  1. Use this function in queries, forms, or reports.

Summary Table:

Feature Purpose Where Used
Forms Input, edit, view data Data Entry Screens
Reports Output formatted summaries Printing, Presentations
Modules Advanced automation and logic using VBA Behind-the-scenes programming
Some More: 

POP- Introduction to Programming Using ‘C’

DS – Data structure Using C

OOP – Object Oriented Programming 

Java Programming

DBMS – Database Management System

RDBMS – Relational Database Management System

Join Now: Data Warehousing and Data Mining 

Leave a Reply

Your email address will not be published. Required fields are marked *