Introduction To MS Access
Introduction To MS Access
What is MS Access?
1. Launch MS Access:
3. Select a folder
for the Database
The Ribbon
Work area
2.1. The ribbon: The Ribbon is a tabbed toolbar at the top of the Access
window. It contains various tabs, each representing a set of related commands.
Tab
The main control center of each Access database is the navigation pane. It shows you
what is in the database and makes the information accessible to you.
Figure 4: The navigation pane
3. MS access objects:
There are two basic views when you work in a table: Design View and Datasheet
View. Design View (Figure 6) is used to set the data types, insert or delete fields, and
set the Primary key and relationships between tables. Datasheet View (Figure 5) is
used to enter the data for the records.
The Ribbon
Work area
Creating tables in Microsoft Access involves using the Table Design view. Here's a
step-by-step guide on how to create tables in MS Access:
In the Navigation Pane, click on the "Table Design" icon to open the Table
Design view.
Table design icon
Use the Table Design view to create tables. Define fields, data types, and
relationships between tables.
Field name
Field type
To enter a field in a table, we type first the name of the field then we select the
appropriate data type (e.g., Text, Number, Date/Time, etc.). We can also add a
description to document the purpose of the field which is optional.
Connect the primary key of one table to the foreign key of another.
Create data entry forms to simplify the process of entering and editing data. Access
provides a Form Wizard for this purpose.
To create a form from a table, click on the Form icon from the Create Tab.
Select Create tab
We use queries to retrieve specific information from a database. They can be also
used to change and analyze data in different ways.
3. Select the table that you would like to base your query on (here we select table
Etudiant)
3
List of tables
Design grid
The design grid is divided into rows and columns. Each column represents a field
that will be included in the result of the query.
4. In the design grid, Select the field names which you would like to include in the
query.
4
5. Define a cretria for your query by entering the criteria in the criteria row in the
field for which you wish to define the criteria for.
This query shows the student number, first name and last name of all students
studiyng “Commerce”.
Example: If the table “Etudiant” contains the records below
3.4. Reports:
Reports can be based on tables or queries and can be made with the Report Wizard
(Assistant état).
3) Select the table or query upon which the report will be based
4) Select the fields that you want to include on the report by double clicking on them
5) Click Next
6) If you would like to add grouping to your report, select the field you wish to
group by double clicking on it
7) Click Next
9) Click Next