Topics in this sectionMicrosoft Access Fundamentals2 topics
- Getting Started with MS Access
- Tables, Forms, and Reports
Managing Data with Microsoft Access
Databases help us store, organize, and retrieve information efficiently. In Microsoft Access, three main tools let us work with data: tables hold the raw information, forms make it easy to enter and view data, and reports present data in a printable format. This note shows you how to create each of these using Microsoft Access.
A table is a collection of rows and columns. Each row represents one record (for example, one student), and each column represents a field (for example, name, age, or grade). Before you can enter any information, you must design your table structure.
Creating a Table in Design View
Design view lets you define each field carefully before adding any data.
- Open Microsoft Access and create a new blank database. Give it a name you will remember.
- On the Create tab, click Table Design. A new window opens showing field names and data types.
- In the first row under Field Name, type the name of your first piece of information — for example,
StudentID. In the same row, under Data Type, choose Number or AutoNumber. - Press the Tab key and type the next field name, such as
FirstName. Choose Short Text as the data type. - Continue adding fields like
LastName(Short Text),Age(Number),Gender(Short Text), andCounty(Short Text) to describe each student. - Choose one field to be your primary key. The primary key uniquely identifies each record. Click in the row of your chosen field (often
StudentID) and click the Primary Key button in the toolbar (it looks like a key symbol). A small key icon appears next to that field. - Save your table by clicking the Save button or pressing Ctrl+S. Name it
Students.
Switching Between Views
After creating your table in Design view, you can switch to Datasheet view to enter actual data. On the Home tab, click the View button and select Datasheet View. You will see a spreadsheet-like grid where you can type information into each row. Each new row is a new record.
Adding More Tables
A real database usually has more than one table. For example, you might create a second table called Results with fields like ResultID, StudentID, Subject, and Score. The StudentID field in this table links to the Students table — this connection is called a relationship. It lets you match each result with the correct student.
Forms provide a user-friendly window for entering and editing data. Instead of looking at a spreadsheet, users see labeled boxes that are easier to fill out.
Creating a Form with the Form Wizard
- Select your table in the Navigation Pane on the left (click
Students). - Go to the Create tab and click Form Wizard.
- A dialog box appears showing all fields from your table. Click the double arrow (>>) to move all fields to the right side, or select individual fields and click the single arrow (>) to move them one by one.
- Click Next. Choose a layout such as Columnar (labels on the left, boxes on the right) or Tabular (rows and columns like a table).
- Click Next again. Give your form a title, such as
Student Entry Form. - Click Finish. Your form opens, showing one record at a time with clear labels for each field.
You can now use the form to add new students, edit existing information, or delete records using the buttons at the bottom of the form.
Reports organize data into a format suitable for printing or sharing. They often include titles, dates, totals, and grouping.
Creating a Report with the Report Wizard
- Select the table or query you want to base your report on (for example,
Studentsor a query that combinesStudentsandResults). - On the Create tab, click Report Wizard.
- Choose the fields you want to include in your report. For instance, select
FirstName,LastName, andCountyfrom the Students table. - Click Next. If you have related tables, you can group data — for example, group by County to see students listed under each county.
- Click Next again. You can sort records by one or more fields, such as sorting alphabetically by
LastName. - Choose a layout: Stepped, Block, or Outline. The Stepped layout is common because it indents grouped information.
- Click Next. Give your report a title like
Student List by County. - Click Finish. Your report opens in Print Preview, showing how it will look when printed.
You can switch to Layout View or Design View to rearrange fields, add colours, or change fonts just like you would in Word.
When you have more than one table, you connect them using relationships. This prevents entering the same information repeatedly and ensures data stays accurate.
- On the Database Tools tab, click Relationships.
- A relationships window shows your tables. Drag a field from one table onto the matching field in another table — for example, drag
StudentIDfrom theStudentstable ontoStudentIDin theResultstable. - A dialog box opens showing the relationship type. Choose One-to-Many if one student can have many results. Check the box Enforce Referential Integrity to prevent accidentally deleting a student who has results stored.
- Click Create. A line connects the two tables, showing the relationship.
Imagine you are helping the headmaster at a county secondary school in Juba manage student records. You need to track which students sit for the South Sudan Secondary School Certificate Examination.
First, create a table called Candidates with fields: CandidateID (primary key, AutoNumber), FullName (Short Text), School (Short Text), Centre (Short Text), and FeePaid (Yes/No).
Next, create a form called Candidate Entry using the Form Wizard so the exams officer can easily enter each candidate's details without seeing empty columns.
Finally, create a report called Fee Status that lists all candidates and shows whether each has paid the examination fee. The headmaster can print this report to see which students have not yet paid.
- Table: A collection of records stored in rows and columns.
- Field: A single category of information in a table (like a column heading).
- Record: One complete set of information in a table (one row).
- Primary Key: A field that uniquely identifies each record.
- Form: A graphical interface for entering or viewing data.
- Report: A formatted printout or display of data from tables or queries.
- Design View: A mode where you define the structure of tables, forms, or reports.
- Datasheet View: A mode showing data in a spreadsheet format.
- Relationship: A connection between two tables using matching fields.
In South Sudan, government ministries, hospitals, and schools often need to keep organized records. For example, a clinic in Malakal can use Microsoft Access to store patient information in a table, enter new patient visits through a form, and print a monthly report showing how many patients were treated. A school in Wau can track student enrollment and generate reports for the County Education Office using the same tools. This skill helps you support real organisations with reliable data management.
Question
What is a record in Microsoft Access?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet