Professional Documents
Culture Documents
Tables are considered one of the objects in وهيAccess ائ ات ال اول م ب تع
Access and are the fundamental element of
databases. They contain various data for each ب انات اﻷساسي لق اع ال انات وال ي ت الع
entity and are composed of fields, which are later م لفة ل ل ان وتتكون الجداول من حقول والتي يتم
represented as columns and records which
تمثيلها فيما بعد بأعمدة ومن سجﻼت و المتمثلة في
represent rows. And it is possible to establish
relationships and degrees of association to link كما يمكن الربط بين هذه الجداول بعﻼقات،الصفوف
these tables together, as we will explain in this .ودرجات تشاركية كما سنعرضه في هذا الجزء
section.
Create the data base "ProduitsEnVente" "ProduitsEnVente''إن اء قاع ة ال انات
Reminder: To create a data base in Access ات إت اع ال ﻹن اء قاع ة ال انات: ت
2007, you can follow these steps:
:ال ال ة
1. Choose Microsoft Office Access 2007 Microsoft Office Access 2007 نختار.1
from the Start menu or through the أومن خﻼل اﻹختصارDémarrer من القائمة
shortcut. .raccourci
2. The new data base. . قاعدة بيانات جديدة.2
3. select "Blank database" section. Base de أنقر فوق قاعدة بيانات فارغة.3
4. An empty database .données vide
5. In the "File Name"" box, enter the . قاعدة بيانات فارغة.4
desired name for the database, for " أكتب إسمNom de fichier" في المربع.5
example, "ProduitsEnVente
ProduitsEnVente" and المثال سبيل على الملف
choose the storage location for this " كإسم لقاعدة البياناتProduitsEnVente"
database. .وقم باختيار مكان التخزين لهذه القاعدة
6. Click on the "Create"" button to creat
create . من أجل اﻹنشاءCréer أنقر على الزر.6
the database.
ع. سهام.أ 1
المحور :03إنشاء قواعد البيانات العﻼئقية اعﻼم الي 04
Topic 03: RDB الدرس :02إنشاء الجداول والعﻼقات في برنامج
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
Before creating tables, it is necessary to specify قبل إنشاء الجداول يجب تحديد الحقول التي تنتمي إليه
the fields they belong to, without forget the
إضافة إل ى المع رف والعﻼق ات وال درجات التش اركية
identifier, relationships, and degrees of
وهذا ما تم التطرق إليه في كل من النموذج المف اهيمي
association. Witch we saw in both in the
conceptual data model and the logical model. :للبيانات والنموذج المنطقي وعليه
To create a table in Access 2007, you can نتب ع الخط واتAccess م ن أج ل إنش اء ج دول ف ي
1. Open Microsoft Access 2007 and select فتح واختي ار قاع دة البيان ات الت ي ي راد العم ل.1
the database where you want to create .فيها
the table.
ف ي الش ريط ف ي اﻷعل ى إض غط عل ى.2
2. On the toolbar at the top of the screen,
click on the "Create"" tab.
3. In the "Tables" group, click on the
"Table Design" button.
الضغط على.3
4. A new table will appear in the window in
Design View. ج دول جدي د يظه ر ف ي الجان ب اﻷيس ر م ن.4
select the appropriate data type for each الضغط على نوع البيان واختي ار اﻷنس ب م ن.6
field.
.القائمة المنسدلة لكل حقل
7. Repeat steps 5 and 6 to add as many
fields as you need for your table. . ﻹضافة عدة حقول6 و5 تكرار الخطوات.7
ع. سهام.أ 3
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
8. When you're finished adding fields, click إعط اء إس م للج دول وم ن ث م الض غط.9
2
3
ع. سهام.أ 4
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
4
8
5
6
Next, you'll go to set up a primary key for من أجل إضافة المفتاح اﻷساسي للجدول نتبع الخطوات
your table. :التالية
1. highlight the field(s) that you want to use . قم بتظليل الحقل المراد إضافته كمفتاح أساسي.1
as the primary key. الضغط على رمز المفتاح اﻷساسي.2
2. select the Design tab in the toolbar at the .3
top of the screen and click on the قم بحفظ التعديﻼت التي تمت من خﻼل الضغط.4
Primary Key button unde
under the Tools
على الزر
section.
ع. سهام.أ 5
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
(CD-ROM,
ROM, floppy disks, motherboard, ،ة اقة ال ، اقة ال اشة ،اقة اﻷم
With the aim of managing the prices of these ه ه ال س ةProduct ات ﻹدارة أسعار م
products, the company asks you to cre
create
ال س ة إن اء ج اول م ت ل،لص ح
tables and relationships for the database
وعﻼقات لقاع ة ال انات
"ProduitsEnVente.accdb"" using Microsoft
2007 فيProduitsEnVente.accdb
Access 2007.
.Microsoft Access
ع. سهام.أ 6
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
C r ea te t h e fi r s t ta b l e o f d a ta b as e : ول اﻷ و ل ل ق اع ة ال ا نا ت إ ن ا ء ال
"ProduitsEnVente.accdb" "ProduitsEnVente.accdb"
T a b l e C u s to me r
T a b l e C u s to me r
in Microsoft Office Access 2007
2007, follow
ن عMicrosoft Office Access 2007 ف ي
these steps:
:ات ال ال ة ال
1. Open the database containing the table
view.
.Customer
.Ok أنقر فوق موافق.4
ع. سهام.أ 7
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
In this stage, we will define the field names ا د أس اء ال ق ل وأن اعها في ه ه ال حلة س
and their types as previously determined in the
،قي سا قا ت ت ي ها في ال ذج ال فاه ي و ال
conceptual and logical models. we can also
include other information such as the معل مات ا في ه ا ال إضافة أ كا
description (optional) for each field, the size (la
ال،ال صف )إخ ار ( ل ل حقل أخ
taille), data format (le format des données), and
field caption, which is specific to each data le format des ال انات وتla taille
type.
وهيla légende du champ ، données
.خاصة ل ن ع م ال انات
In this example, we will add the fields IdCus,, First_Name, Last_Name, etc.
ع. سهام.أ 8
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
Taille du champ 40
Type Texte
Type Texte
City Description Donner l’adresse de
d client
ع. سهام.أ 9
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
ع. سهام.أ 10
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
ع. سهام.أ 11
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
PU Processeurs Catégory
21.500.00DA AMD Ryzen 3 4100 ( 3.8 GHz/4.0 GHz )
30.500.00DA AMD Ryzen 5 4500 Wraith Stealth ( 3.6 GHz/4.1 GHz)
42.900.00DA Intel Core i5-12400F(
12400F( 2.5 GHz/4.4 GHz)
46.900.00DA Intel Core i5-10600KF(
10600KF( 2.5 GHz/4.4 GHz)
Products
51900.00DA AMD Ryzen 5 4500 Wraith Stealth ( 3.6 GHz/4.1 GHz)
90.900.00DA Intel Core i7-12700F(
12700F( 2.5 GHz/4.9 GHz)
69.900.00DA Intel Core i7-11700KF(
11700KF( 3.6 GHz/5.0 GHz)
137.900.00DA Intel Core i9-12900KF(
12900KF( 3.2 GHz/5.2 GHz)
Type Texte
Catégory Description Saisir le Nom de la catégorie
Taille du champ 40
ع. سهام.أ 12
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
ع. سهام.أ 13
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
ع. سهام.أ 14
إنشاء قواعد البيانات العﻼئقية:03 المحور 04 اعﻼم الي
Topic 03: RDB إنشاء الجداول والعﻼقات في برنامج:02 الدرس
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
1. In the "Database Tools"" menu, select outils base de données في القائ ة.1
"Relationships".
Relation ن ار
2. Highlight the tables
les you want to link
together. ب ها ت ل ل ال اول ال اد ال.2
3. Click the "Add" button.
Ajouter ال غ على ال ر إضافة.3
4. Place the mouse pointer on the field in
the first table that you want to use to نق م ب ضع الفأرة على حقل ال ول اﻷول.4
create the relationship, then drag it
ه ث ن،ع له ﻹن اء العﻼقة س وال
towards the corresponding field in the
second table. .ناح ة ال قل ال قابل له في ال ول ال اني
ع. سهام.أ 15
المحور :03إنشاء قواعد البيانات العﻼئقية اعﻼم الي 04
Topic 03: RDB الدرس :02إنشاء الجداول والعﻼقات في برنامج
Lesson 02: ACCESS 2007 ACCESS 2007
Third year-23/24 Computer Science 04
2
3
4
5
ع. سهام.أ 20