Access

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

 Access

Definition:

o Data base: is a set of related tables.


o Tables: is a set of records.
o Records: is a set of fields concerning a specific object example: student.
o Field: is a set of characters represents one information example: first name, birth date.
o Characters: is a set of bits (8 bits= 1 byte).
o Bit: is a cell containing “0” of “1” is the smallest measurement unit of data.
o Primary key: is a field or multiple fields used to identify each record in the table.
(Primary key can’t contain duplicates or null values)

1 What is database:
A database is a set of information distributed in many related tables and concerning a
specific subject such as:
o Sofitel management
o hotel management
o bank management

2 Data base contains many objects: 7 objects


1. Table: is an object (organ= container) in access database to store (save data).
2. Query: is an object (organ= container) in access database to storage or retrovert data.
3. Form: is an object (tool) in access database to add (enter), view (display), up dole
(modify = edit) and delete (remove) data.
4. Report: is an object (tool) in access database to print data out a paper.
5. Page: is an object (tool) in access database to polish data on website.
6. Macro: is an object (tool) in access database to run (execute) many consecutives
(sequence) actions.
7. Module: is an object (tool) in access database for programming in visual basic (UBA).

Note: we distribute data in many tables to avoid (prevent) repetition (data redundance).

2-1 what is data base?

A database is a collection of information related to a particular subject such as


customers, orders, hotel management, or school….

We can manage all related information from a single data base file.

Within this file you can:


1. Store data into separate storage containers called tables.
2. View, data and update data using forms.
3. Find and retrieve just the data you want using queries.
4. Print out data on paper using reports.
5. Running many consecutive actions using macros.
6. Publishing a web page using pages.
7. Programming the data base contents using modules.

 Tables, forms, queries, reports, macros, pages, and modules are called database
object.

1. Table: is used to save data in database concerning one item.


2. Form: is a tool allowing manipulating (insert, update, delete) data in table or more.
3. Query: is a way to view, update, filter and sort some or all information stored in one or
many tables.
4. Report: we use report to print out information existing in tables or resulting from a
query.
5. Macro: is a sequence of actions performed automatically.
6. Pages: a data access page is a web page related to a database. It is used to update the
data stored in the desired database (even when you are online).
7. Module: is the place of writing and storing programs in visual basic.

 Note: when you update into table it’s automatically updated every where it appears.
In these tables, we must respect that:
 Each table should contain information about one subject.
We store fixed (permanent) information about students in one table, information about
professors in another one ...
 A table should not contain duplicate (repeated) information.
In the table students, each student has only one first name, one last name ..., which
makes the data base more efficient and reduces the data-entry errors.

Exercises:
1. Fill in the blank with: DBMS: database management system
Module, DBMS, Empty, Query, Tables, Macro, Reports, Objects.
a) We store database information only in Tables.
b) Tables are related to each other according to the DBMS.
c) To print out the table information on paper we use the Reports database object.
d) The database is Empty means no tables, no forms, no reports and no any
another structures are available.
e) A Module is an object used in visual basic programming.
f) Query is an access database object.
g) Macro is an access database object used to execute some successive actions
many times.
h) Tables, queries, forms, macros and reports are Objects in access.

You might also like