Lesson6 Create Tables

34
Abdullatif Tarakji [email protected] Build Tables جداولء ال بناCreate a table إنشاء جدولFormat table تنسيق جدولManage records ت إدارة السجCreate and modify fields حقول ال إنشاء و تعديل

Transcript of Lesson6 Create Tables

Page 1: Lesson6 Create Tables

Abdullatif [email protected]

Build Tables بناء الجداول

Create a table إنشاء جدول

Format table تنسيق جدول

Manage records إدارة السجالت

Create and modify fields إنشاء و تعديل الحقول

Page 2: Lesson6 Create Tables

Abdullatif [email protected]

Create a table إنشاء جدول

Defining tables in Design view

Data types

Creating tables in Datasheet view

Importing data into a table

Linking to a table in another Access database

Managing linked tables

تعريف و تصميم الجداول في طريقة عرض التصميم

أنواع البيانات

إنشاء الجداول في طريقة عرض ورقة بيانات

استيراد بيانات الى الجدول

ربط بجدول من قاعدة بيانات أكسيس أخرى

إدارة الجداول المرتبطة

Page 3: Lesson6 Create Tables

Abdullatif [email protected]

Create a table إنشاء جدول

• You work with tables in two views: Design view and Datasheet view.

• In Design view, Access doesn’t display data. Design view shows only the structure of a table—the fields that make up the table and the settings for properties that define the fields.

• Datasheet view displays the data in a table, in a grid of columns and rows (resembling the cells in a worksheet in Microsoft Excel). Each column represents a field, and each row represents a record in the table.

:للعمل في الجداول هناك طريقتين عرض•

.و طريقة عرض ورقة البيانات, طريقة عرض التصميم

في طريقة عرض التصميم برنامج األكسيس ال يظهر•

, الجدولطريقة عرض التصميم تعرض فقط بنية. البيانات

تي و االعدادات للخصائص ال, الحقول التي تبني الجدول

.تعرف الحقول

في , طريقة عرض ورقة البيانات تظهر لنا بيانات الجدول•

. ملشبكة من األعمدة و الصفوف مشكلة الخاليا في ورقة ع

.كل عمود يمثل حقل و كل صف يمثل سجل في الجدول

Page 4: Lesson6 Create Tables

Abdullatif [email protected]

Page 5: Lesson6 Create Tables

Abdullatif [email protected] Defining tables in Design view

تعريف و تصميم الجداول في طريقة عرض التصميم

• With a database open, click the Create tab and then click Table Design to create a table in Design view. In this view, you define fields by working with three main columns: Field Name, Data Type, and Description. The first two columns are required. Adding information to the Description column is optional, but describing important fields in a table is an effective way to start documenting your database.

ويب في قاعدة البيانات المفتوحة اضغط على تب•

ول إنشاء ثم اضغط على تصميم جدول إلنشاء جد

في هذا العرض . في طريقة عرض التصميم

: دةيمكننا تعريف الحقول بالعمل مع ثالثة أعم

و العمود الثاني نوع , العمود األول اسم الحقل

. لأما العمود الثالث فهو لوصف الحق, البيانات

العمودين األول و الثاني هي أعمدة مطلوبة أي

هو أما العمود الثالث ف, يجب ادخال معلومات فيها

كن و ل. اختياري و هو لوصف الحقل يمكن تجاهله

دك يفضل وضع وصف للحقول المهمة ألنها تساع

.على توثيق قاعدة بياناتك

Page 6: Lesson6 Create Tables

Abdullatif [email protected]

Page 7: Lesson6 Create Tables

Abdullatif [email protected]

After entering a name for a field, open the

list in the Data Type column. The data type

you select defines what sort of data you

want to store in the field. The following list

describes Access data types:

.بعد ادخال اسم الحقل نفتح قائمة نوع البيانات

نوع البيانات الذي تختاره يعرف نوع البيانات الذي تريد

.تخزينه في الحقل.و سوف نوضح أنواع البيانات التي يؤمنها برنامج األكسيس

Page 8: Lesson6 Create Tables

Abdullatif [email protected] Data types - أنواع البيانات

• Short Text Use the Short Text data type for simple text fields. Simple text fields include contact or project names or information such as street addresses or postal codes, which include numbers that aren’t used in mathematical operations. By default, Access sets the Field Size property for a Short Text field to 255 characters, which is the maximum number of characters a Short Text field can contain. You can set the Field Size property to a shorter length.

• Long Text The Long Text data type is designed for fields in which you want to store large blocks of text. You can store approximately 1 gigabyte (GB) of alphanumeric data in a Long Text field, but not all that data will be displayed on a form or in a control on a report.

نص مختصر•

. لبسيطةنستخدم نوع بيانات النص المختصر ألنواع حقول النصوص ا

مات حقل النص البسيط يتضمن جهات اتصال أو اسم مشروع أو معلو

و الذي يتضمن أرقام ال , مثل عناوين الشارع أو الرمز البريدي

. تستخدم في العمليات الحسابية

لنص بشكل افتراضي برنامج األكسيس يعين خاصية حجم الحقل ل

حرف و الذي يعني انه الحد األقصى من األحرف 255المختصر الى

حقل الى يمكنك تعيين خاصية حجم ال. و األرقام ممكن أن يحتويه الحقل

255الى 1رقم أقل أي تعيين من

نص طويل•

يها كتلة نوع بيانات النص الطويل مصمم للحقول التي تريد ان تخزن ف

يمكنك تخزين تقريبا . كبيرة من النص

و لكن , لا جيجا بايت من البيانات النصية و الرقمية في حقل نص طوي

.تقريرلن تظهر كل البيانات في عنصر مربع النص في النموذج أو ال

Page 9: Lesson6 Create Tables

Abdullatif [email protected]

• Number Use the Number field to store numeric data of various field sizes, including Byte, Integer, Long Integer, and Decimal. You should choose a field size according to the size and kind of numbers you will store in the field:

• Byte A 1-byte integer containing values from 0 through 255.

• Integer A 2-byte integer containing values from –32,768 through 32,767.

• Long Integer A 4-byte integer containing values from –2,147,483,648 through 2,147,483,647.

• Single A 4-byte, floating-point number containing values from –3.4 × 1038 through 3.4 × 1038 and up to seven significant digits.

• Double An 8-byte, floating-point number containing values from –1.797 × 10,308 through 1.797 × 10,308 and up to 15 significant digits.

• Replication ID A 16-byte globally unique identifier (GUID).

• Decimal A 12-byte integer with a specified decimal precision that can contain values from approximately –9.999 × 1027 through 9.999 × 1027.

ة ألحجام تستخدم الحقول الرقمية لتخزين البيانات الرقمي: األرقام•

, طويلعدد صحيح, عدد صحيح, تتضمن البايت, الحقل المختلفة

رقام يجب اختيار حجم الحقل تبعا لنوع األ. و األرقام العشرية

.التي سوف تخزنها في الحقل

.255الى 0حجمه ا بايت صحيح يتضمن قيم من البايت •

بايت عدد صحيح يحتوي القيم من2حجمه صحيح عدد•

.32,767الى 32,768-

بايت صحيح يحتوي القيم من 4حجمه طويل صحيحعدد•

.2,147,483,647الى 2,147,483,648-

يم من بايت يتضمن المنازل العشرية يحتوي على ق4حجمه مفرد عدد•-3.4x1038 3.4الىx1038و الحد األقصى لألرقام بعد الفاصلة

.أرقام7العشرية

قيم بايت يتضمن المنازل العشرية يحتوي على8حجمه مزدوج عدد•و الحد األقصى 1.797x10,308الى 1.797x10,308-من

.رقم15لألرقام بعد الفاصلة العشرية

.بايت معرف فريد عمومي16حجمه المماثلة النسخةمعرف•

بايت صحيح مع الدقة العشرية المحددة 12حجمه العشري العدد•الى 9,999x1027-يمكن ان يحتوي على قيم تقريبا من

9,999x1027.

Page 10: Lesson6 Create Tables

Abdullatif [email protected]

• Date/Time Designed to store dates and times. You can choose formats such as Short Date (3/08/2012) and Long Date (Monday, May 23, 2011). You can perform calculations on the data in Date/Time fields to determine the interval between two dates, for example.

• Currency Use this data type for monetary values. You can specify formats that include up to four decimal places.

• AutoNumber Use AutoNumber for fields for which you want Access to generate a unique identifying number. A table can have only one AutoNumber field that is set to the field size Long Integer. An AutoNumber field is often used as a table’s primary key.

خ و مصمم لتخزين بيانات التواري:الوقتوالتاريخ•

ال تاريخ يمكنك اختيار التنسيقات التي تريد مث. األوقات

أيار , االثنين)و تاريخ طويل ( 3/08/2012)قصير

يمكنك انجاز حقول محسوبة للتاريخ و(. 2011, 23

.الوقت مثال تحديد الفرق بين تاريخين

. قديةيستخدم هذا النوع من البيانات للقيم الن:العملة•

نازل يمكنك تحديد التنسيقات التي تتضمن أربعة م

. عشرية

ائي للحقول يستخدم حقل الترقيم التلق:التلقائيالترقيم•

التي يقوم األكسيس بتوليد رقم فريد تلقائي كل جدول . ا

و يحتوي على حقل واحد فقط من الترقيم التلقائي

رقيم حقل الت. الذي يعين حجم الحقل عدد صحيح طويل

.التلقائي غالبا يستخدم مفتاح رئيسي

Page 11: Lesson6 Create Tables

Abdullatif [email protected]

• Yes/No Designed for fields whose value is true or false. In Yes/No fields, Access stores –1 for true (yes) or 0 for false (no).

• OLE Object An OLE object field is used to store objects such as pictures or charts created in another Windows–based application. You can store objects up to about 2 GB.

• Hyperlink Use the Hyperlink data type for fields in which you want to store a website address (on the Internet or an intranet) or the path to a file (on a network or the local computer).

• Attachment By applying the Attachment data type, you create a field in which you can store documents, spreadsheets, presentations, and other file types. You can include an unlimited number of attachments per record, although you are restricted by the limitation on the overall size of an Access database (approximately 2 GB).

في , مصممة للحقول التي تأخذ قيم صح أو خطأ:ال/نعم•

( نعم)للصح 1-ال برنامج األكسيس يخزن قيمة /حقول نعم

(.ال)للخطأ 0أو

تستخدم لتخزين كائنات مثل الصور OLEكائن•

. أو مخططات تم انشائها في برامج أخرى

.جيجا بايت2يمكن تخزين كائنات يصل حجمها الى

تشعبي تستخدم نوع بيانات االرتباط ال:التشعبياالرتباط•

النترنت للحقول التي تريد تخزين فيها عناوين المواقع في ا

او االنترانت و عناوين البريد اإللكتروني أو مسار ملف.على الشبكة او في الجهاز المحلي

يث لتطبيق نوع بيانات المرفق ننشئ حقل ح:المرفق•

روض ملفات الع, ملفات االكسيل, يمكننا تخزين الوثائق

د يمكنك تضمين عد. و أنواع ملفات أخرى, التقديمية

بالرغم من أنك , غير محدود من المرفقات بكل سجل

.)جيجا بايت2تقريبا (مقيد بحجم محدود

Page 12: Lesson6 Create Tables

Abdullatif [email protected]

• Calculated Use the Calculated data type for a field in which you define an expression that uses data from one or more other fields. Calculated fields include a Result Type property that lets you specify the data type for the result of the calculation.

• Lookup wizard Use the Lookup wizard entry in the Data Type list to create a field that uses values from a related table or in a list you define. You can create a complex lookup field to store more than one value of the same data type in each record.

ات يستخدم هذا النوع من البيان:المحسوبةالحقول•

يانات من للحقول التي تعرف التعبير التي تستخدم ب

وتشمل الحقول المحسوبة. حقل او اكثر من حقل

ع يتيح لك تحديد نونوع النتيجة الذي خاصية

.البيانات لنتيجة الحساب

نستخدم معالج البحث إلدخال :البحثمعالج•

يم من قائمة نوع بيانات إلنشاء حقل يستخدم ق

يمكن. جدول مرتبط او قائمة معرفة من قبلك

انشاء حقل بحث مركب لتخزن فيه اكثر من

.قيمة من نفس نوع البيانات لكل سجل

Page 13: Lesson6 Create Tables

Abdullatif [email protected] To create a table in Design view

إلنشاء جدول في طريقة عرض التصميم

1. On the Create tab, click Table Design.

2. Use the Field Name, Data Type, and Description columns to define the table’s fields.

3. Select the field or fields you want to use as the table’s primary key, and then click Primary Key on the Table Tools Design tool tab.

4. On the Quick Access Toolbar, click Save.

5. In the Save As dialog box, enter a name for the table, and then click OK.

.من تبويب إنشاء اضغط على تصميم جدول1.

ل و وصف الحق, نوع البيانات, استخدم اسم الحقل2.

.لتعريف حقول الجدول

فتاح اختر الحقل أو الحقول التي تريد استخدامها كم3.

ي من ثم اضغط على المفتاح األساس, أساسي للجدول

.مجموعة أدوات في تبويب تصميم أدوات الجدول

.من شريط األدوات السريع ألكسيس اضغط حفظ4.

من صندوق حوار حفظ باسم أدخل اسم الجدول ثم 5.

.اضغط موافق

Page 14: Lesson6 Create Tables

Abdullatif [email protected]

1

2

3

4

5

Page 15: Lesson6 Create Tables

Abdullatif [email protected] Creating tables in Datasheet view

إنشاء الجداول في طريقة عرض ورقة بيانات• Defining a table in Design view might

seem abstract. In Design view, Access displays only the definitions for the data that a table will hold but not the data itself. In contrast, by building a table in Datasheet view, you can begin defining the structure of a table as you compile the data you want to store and manage. Enter field names at the top of a column, and then start entering data for a field. On the basis of the data you enter, Access assigns a data type to that field. (You can also select data types yourself.)

• You can use the commands in the Add & Delete group (on the Table Tools Fields tool tab) to create additional fields for the table. Click the command related to the data type you want to use. The Fields tool tab also provides commands for setting a field’s format and an array of field properties.

. افي طريقة عرض التصميم قد يبدو مجردتعريف الجدول •

يف التعارأكسيس فقط طريقة عرض التصميم، يعرض في

. هاالجدول ولكن ليس البيانات نفستبني للبيانات التي

المقابل، من خالل بناء الجدول في طريقة عرض ورقة في

مع جهي البيانات، يمكنك أن تبدأ بتحديد بنية الجدول كما

. تخزينها وإدارتهاالبيانات التي تريد

ل ، ومن ثم البدء في إدخاالعمودأسماء الحقول في أعلى أدخل

مج برناعلى أساس البيانات التي تدخلها، . البيانات لحقل

. الحقلنوع البيانات إلى هذا األكسيس يعين

.(يمكنك أيضا تحديد أنواع البيانات بنفسك)

يمكنك استخدام األوامر في مجموعة إضافة و حذف •

فية إلنشاء حقول إضا( حقول أدوات الجدول, في تبويب أدوات)

تي اضغط على األمر الذي له عالقة بنوع البيانات ال. للجدول

ر أدوات الحقول أيضا يؤمن األوامتبويب . تريد استخدامها

.قوللتحديد اعدادات تنسيقات الحقول و مجموعة خصائص الح

Page 16: Lesson6 Create Tables

Abdullatif [email protected]

Page 17: Lesson6 Create Tables

Abdullatif [email protected] Importing data into a table

استيراد بيانات الى الجدول• One way to build a table is to import data

from Excel workbooks, text files, XML files, Microsoft SharePoint lists, and Microsoft Outlook folders. The commands for importing data in these and other formats are in the Import & Link group on the External Data tab.

• When you import data, you usually have three options: importing the source data into a new table, appending the data to a table that’s already defined, or linking to the data source to create a linked table.

• Access can use column headings in the source data as field names, and Access often displays a wizard that helps you provide the information Access requires to import data from a particular format.

مل طريقة لبناء جدول و هي باستيراد بيانات من ورقة ع•

قائمة مواقع, ملفات االنترنت, ملفات نصية, اكسيل

. و من مجلدات األوتلوك, المشاركة

األوامر و التنسيقات الخاصة باستيراد البيانات من

.يةمجموعة االستيراد و الربط في تبويب بيانات خارج

: عند استيراد البيانات لديك ثالثة خيارات•

, استيراد مصدر البيانات الى جدول جديد

, إضافة البيانات الى جدول معرف مسبقا

.أو ربط مصدر البيانات إلنشاء جدول مرتبط

برنامج األكسيس يمكنه استخدام عناوين األعمدة في•

و يظهر األكسيس , مصدر البيانات كأسماء لألعمدة

ة المعالج الخاص لمساعدتك لتأمين المعلومات المطلوب

.الستيراد البيانات بتنسيق مخصص

Page 18: Lesson6 Create Tables

Abdullatif [email protected] Importing data from Excel

استيراد بيانات من االكسيل• Click Excel in the Import & Link group to display

the Get External Data dialog box, which you use to select an import option and identify the source file. With the Import The Source Data Into A New Table In The Current Database option selected, you use the Import Spreadsheet wizard to complete the operation.

• As you work through the wizard, first you either specify the worksheet you want to import or click the Show Named Ranges option and then specify a range. Select the First Row Contains Column Headings check box if the worksheet you’re importing includes column headings that Access can use as field names. You can also specify each field’s data type.

• The wizard’s fourth page shows options for setting the table’s primary key. Let Access create an ID field in the table to use as the primary key, choose your own primary key, or specify no primary key. When you click Finish in the wizard, Access again displays the Get External Data dialog box and provides an option for you to save the import steps.

من مجموعة استيراد و ربط اضغط اكسل إلظهار صندوق حوار•

تيراد حيث يستخدم لتحديد خيارات االس, إحضار بيانات خارجية

ول باستيراد بيانات المصدر الى جد. و تعريف ملف المصدر

خدم نست, جديد في قاعدة البيانات الحالية بالخيارات المحددة

.استيراد معالج ورقة عمل إلتمام العملية

أوال سنحدد ورقة العمل التي نريد, من خالل عملك بالمعالج•

استيرادها أو نضغط على أسماء المجاالت التي من خاللها

حدد السطر األول الذي يحتوي على. سنحدد المجال المطلوب

. عناوين األعمدة التي سيستخدمها األكسيس كأسماء للحقول

.يمكن أيضا تحديد أنواع البيانات لكل حقل

فتاح المإلعداد في المرحلة الرابعة من المعالج سيظهر الخيارات •

. ساسياختر الحقل المطلوب تعيينه كمفتاح أ, األساسي للجدول

برنامج األكسيس مرة أخرى , عند الضغط على انهاء المعالج

رات سيظهر صندوق حوار احضار بيانات خارجية لتأمين الخيا. لحفظ خطوات االستيراد

Page 19: Lesson6 Create Tables

Abdullatif [email protected] To import data from Excel

into a new table الستيراد بيانات من االكسيل الى جدول جديد

1. On the External Data tab, in the Import & Link group, click Excel.

2. In the Get External Data dialog box, click the option Import the source data into a new table in the current database, click Browse to locate the source file, and then click OK.

3. In the Import Spreadsheet wizard, select the worksheet or named range that has the data you want to import.

4. Click Next to work through the wizard to specify whether the first column of the data includes column headings, set field options, designate a primary key, and name the table.

5. Click Finish in the wizard, and then select the option Save import steps in the Get External Data dialog box if you want to save the steps in this operation.

بط من تبويب بيانات خارجية و في مجموعة استيراد و ر1.

.اضغط اكسيل

اضغط على , من صندوق حوار احضار بيانات خارجية2.

اعدة خيارات استيراد بيانات خارجية الى جدول جديد في ق

ملف ثم اضغط استعراض لتحديد موقع, البيانات الحالية

.المصدر ثم اضغط موافق

م اختر ورقة العمل أو اس, في معالج استيراد ورقة العمل3.

.المجال الذي يحتوي البيانات التي تريد استيرادها

اضغط التالي للعمل من خالل المعالج الذي سيحدد 4.

اح تخصيص المفت, تعيين خيارات الحقول, العناوين

.و اسم الجدول, األساسي

اضغط على انهاء المعالج ثم اختر خيارات حفظ خطوات5.

ا االستيراد في صندوق حوار احضار بيانات خارجية اذ

.كنت تريد حفظ خطوات العملية

Page 20: Lesson6 Create Tables

Abdullatif [email protected]

1

23

Page 21: Lesson6 Create Tables

Abdullatif [email protected]

Page 22: Lesson6 Create Tables

Abdullatif [email protected]

Page 23: Lesson6 Create Tables

Abdullatif [email protected] To import data from a text file into a new table

الستيراد بيانات من ملف نصي الى جدول جديد

1. On the External Data tab, click Text File in the Import&Link group.

2. In the Get External Data dialog box, click Import the source data into a new table in the current database, click Browse to locate the source file, and then click OK.

3. In the Import Text wizard, specify the format for the file you are importing (Delimited or Fixed Width), and then click Next.

4. Choose the delimiting character or specify column breaks (depending on the format selected in step 3). Select First Row Contains Field Names if this option applies.

5. Click Next, and then work through the remaining pages to set field options, designate a primary key, and name the table.

6. Click Finish. If you want to save the steps in this operation, select Save import steps in the Get External Data dialog box.

من تبويب بيانات خارجية اضغط على ملف نصي من مجموعة 1.

.استيراد و ربط

اضغط على خيارات , من صندوق حوار احضار بيانات خارجية2.

ثم , اليةاستيراد بيانات خارجية الى جدول جديد في قاعدة البيانات الح

.اضغط استعراض لتحديد موقع ملف المصدر ثم اضغط موافق

من معالج استيراد نص حدد التنسيقات للملف الذي تستورده 3.

.ثم اضغط التالي( الفاصلة أو العرض الثابت)

اختر رمز الفاصلة أو حدد فواصل األعمدة 4.

(. 3باالعتماد على التنسيقات في الخطوة )

.اختر السطر األول الذي يحتوي اسماء الحقل اذا طبقت الخيار

صميم و ت, اضغط التالي ثم حدد خيارات الحقل في الصفحات التالية5.

.المفتاح األساسي و تسمية الجدول

. اضغط انهاء6.

وار اذا اردت حفظ الخطوات في هذه العملية اختر حفظ في صندوق ح.احضار بيانات خارجية

Page 24: Lesson6 Create Tables

Abdullatif [email protected]

Page 25: Lesson6 Create Tables

Abdullatif [email protected]

Page 26: Lesson6 Create Tables

Abdullatif [email protected]

Page 27: Lesson6 Create Tables

Abdullatif [email protected]

Linking to a table in another Access database ربط بجدول من قاعدة بيانات أكسيس اخرى

Use the Access command in the Import & Link group (on the External Data tab) to open the Get External Data dialog box. Click Link To The Data Source By Creating A Linked Table, and then locate the database you want to link to. You use the Link Tables dialog box to select the table or tables you want to link to. Access adds an entry for a linked table to the Navigation pane.

استخدم أوامر أكسيس في مجموعة استيراد و ربط

ر لفتح صندوق حوار احضا( من تبويب بيانات خارجية)

ول اختر ربط بمصدر البيانات إلنشاء جد. بيانات خارجية

. هاثم حدد موقع قاعدة البيانات التي تريد الربط ب, مرتبط

استخدم صندوق حوار ربط جداول الختيار الجدول او

ف برنامج األكسيس يضي. الجداول التي تريد الربط بها

.ادخال ربط جدول في جزء المهام

Page 28: Lesson6 Create Tables

Abdullatif [email protected]

To link to a table in another Access database:

1. On the External Data tab, click Access in the Import & Link group.

2. In the Get External Data dialog box, click Link to the data source by creating a linked table.

3. Click Browse to locate the source database, and then click OK.

4. In the Link Tables dialog box, select the table or tables you want to link to, and then click OK.

:لربط جدول من قاعدة بيانات اكسيس أخرى

اضغط اكسيس من مجموعة , من تبويب بيانات خارجية1.

.استيراد و ربط

اختر ربط , من صندوق حوار احضار بيانات خارجية2.

.بمصدر البيانات إلنشاء جدول الربط

.وافقاضغط استعراض لتحديد موقع مصدر قاعدة البيانات ثم م3.

اختر الجدول او الجداول التي , من صندوق حوار ربط جدول4.

.ثم اضغط موافق, تريد ربطها الى

Page 29: Lesson6 Create Tables

Abdullatif [email protected] To link to a text file

الربط بملف نصي

1. On the External Data tab, click Text File in the Import & Link group.

2. In the Get External Data dialog box, click Link to the data source by creating a linked table, click Browse to locate the source file, and then click OK.

3. In the Link Text wizard, specify the format for the file you are importing (Delimited or Fixed Width), and then click Next.

4. Choose the delimiting character or specify column breaks (depending on the format). Select First Row Contains Field Names if this option applies.

5. Click Next to work through the remaining pages to set field options, designate a primary key, and name the table.

6. Click Finish, and then click OK in the Link Text wizard message box that confirms the table was linked.

اضغط ملف نصي من مجموعة, من تبويب بيانات خارجية1.

.استيراد و ربط

اختر ربط , من صندوق حوار احضار بيانات خارجية2.

.بمصدر البيانات إلنشاء جدول الربط

ده حدد التنسيقات للملف الذي تستورربط نص من معالج 3.

.ثم اضغط التالي( الفاصلة أو العرض الثابت)

باالعتماد على)اختر رمز الفاصلة أو حدد فواصل األعمدة 4.

اختر السطر األول الذي يحتوي (. 3التنسيقات في الخطوة

.اسماء الحقل اذا طبقت الخيار

و , اليةاضغط التالي ثم حدد خيارات الحقل في الصفحات الت5.

.تصميم المفتاح األساسي و تسمية الجدول

اذا اردت حفظ الخطوات في هذه العملية اختر . اضغط انهاء6..حفظ في صندوق حوار احضار بيانات خارجية

Page 30: Lesson6 Create Tables

Abdullatif [email protected] To link to an Excel worksheet or named range

الربط بورقة عمل اكسل او بمجال مسمى

1. On the External Data tab, click Excel in the Import & Link group.

2. In the Get External Data dialog box, click Link to the data source by creating a linked table, click Browse to locate the source file, and then click OK.

3. In the Link Spreadsheet wizard, select the worksheet or named range that has the data you want to link to, and then click Next.

4. Specify whether the first column of the data includes column headings, and then click Next.

5. Enter a name for the linked table.

6. Click Finish, and then click OK in the Link Spreadsheet wizard message box that confirms the table was linked.

من مجموعة اكسل اضغط , من تبويب بيانات خارجية1.

.استيراد و ربط

اختر ربط , من صندوق حوار احضار بيانات خارجية2.

.بمصدر البيانات إلنشاء جدول الربط

اختر ورقة عمل أو مجال مسمى , من معالج ورقة اكسيل3.

.لتاليثم اضغط ا, التي تحتوي البيانات التي تريد ربطها

م حدد فيما اذا العمود األول يحتوي على عناوين األعمدة ث4.

.اضغط التالي

.أدخل اسم الجدول المرتبط5.

ثم اضغط موافق من صندوق رسالة معالج , اضغط انهاء6.

.ربط ورقة اكسل التي تؤكد ربط الجدول

Page 31: Lesson6 Create Tables

Abdullatif [email protected]

Page 32: Lesson6 Create Tables

Abdullatif [email protected] Managing linked tables

إدارة الجداول المرتبطة

If a source file you have linked to is moved to a different location, you can update the link by using the Linked Table Manager dialog box. This dialog box lists each table linked to in the current database. Select the check box for the link you want to update and then click OK; Access displays the Select New Location dialog box, where you can locate the file again.

اذا كان ملف المصدر المرتبط منقول الى موقع اخر

وار يمكنك استخدام تحديث الربط باستخدام صندوق ح

. إدارة ربط جدول

صندوق الحوار هذا فيه كل جداول الربط في قاعدة

. البيانات الحالية

حدد خانة االختيار لملف الربط الذي تريد تحديثه

, ثم موافق

برنامج االكسيس يظهر صندوق حوار لتحديد الموقع

.الجديد لملف الربط

Page 33: Lesson6 Create Tables

Abdullatif [email protected]

To manage linked tables

1. On the External Data tab, in the Import & Link group, click Linked Table Manager.

2. In the Linked Table Manager dialog box, select the check box for the table or tables whose link you want to update, and then click OK. If the source file is not in the original location, Access displays the Select New Location dialog box.

3. In the Select New Location dialog box, find the new location for the file, select the file, and then click Open.

4. In the Linked Table Manager message box,click OK.

إلدارة جداول الربط

, طفي مجموعة استيراد و رب, من تبويب بيانات خارجية1.

.اضغط إدارة جدول مرتبط

اختر الجدول او , من صندوق حوار إدارة جدول مرتبط2.

ذا ا. ثم اضغط موافق, الجداول حيث تريد تحديث ربطها

يس يظهر برنامج األكس, كان ملف المصدر في غير موقعه

.صندوق حوار اختيار موقع جديد

من صندوق حوار اختيار موقع جديد ابحث عن موقع 3.

.اختر الملف ثم اضغط فتح, الملف

.من صندوق رسالة إدارة ربط الجدول اضغط موافق4.

Page 34: Lesson6 Create Tables

Abdullatif [email protected]