83
1 If a Record in a Parent Table Has a Related Child Record , Referential Integrity Prevents You From Deleting the Parent Record . ل ج س ل ا ف حذ ن م ك ع ن م ي ل م كا ت ل ا رض ف ا! ن ى ف ع ر ف ذول ج ب ل ج س ب ط ب ت ر م ى س ي1 ئ ر ل ذول ا ج ل ى ا ف ل ج س ل ا كان ا ذ! ا ى س ي1 ئ ر ل اIn Access , Referential Integrity Is Enforced by Typing in a Rule . You Can Set Rules about referential integrity in a one table database . Referential Integrity ensures that records in linked tables record are automatically updated when changes are made . ch Two of These Statements About Referential tegrity Are True? ع ج ر م ل ل ا م كا ت ل ا ن ع ن ي ت ي ئ1 الأ ن ي ت ل م ج ل ا ن م ى1 ا ل م ع ن س ب ى ع ج ر م ل ل ا م كا ت ل ا رض ف كان ا ذ! ا ى س ي1 ئ ر ل ذول ا ج ل ى ا ف وذ ج و م ل ج س ل ا كان ا ذ! لأ ا! ه ا ي ف ه اف ض! T الأ ك ت ك م يT ى لأ عر لف ل ا ج س ل ا-

1 If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

Embed Size (px)

Citation preview

Page 1: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

1

If a Record in a Parent Table Has a Related Child Record , Referential Integrity Prevents You From Deleting the Parent Record .

فإن فرعى بجدول بسجل مرتبط الرئيسى الجدول فى السجل كان إذاالرئيسى السجل حذف من يمنعك التكامل فرض

In Access , Referential Integrity Is Enforced by Typing in a Rule .

You Can Set Rules about referential integrity in a one table database .Referential Integrity ensures that records in linked tables record are automatically updated when changes are made .

A child record cannot be entered unless it has a parent in the

database if Referential Integrity is used .

Which Two of These Statements About Referential Integrity Are True?

صواب المرجعى التكامل عن األتيتين الجملتين من أى

الجدول- فى موجود السجل كان إذا إال فيه اإلضافة يمكنك ال الفرعى السجليستعمل المرجعى التكامل فرض كان إذا الرئيسى

Page 2: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

2

Select open an existing file → select c:\windows\desktop\car hire → ok → Type icoffey in the name box → ken*72 in the password box

Log on the database named Car Hire with the username icoffey and password ken*72

المسماة البيانات قاعدة المستخدم Car Hireإفتح إسم سر icoffeyوإستخدم ken*72 وكلمة

Page 3: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

3File menu-------→ Select database → ok

Create a new blank database . فارغة جديدة بيانات قاعدة إنشئ

Page 4: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

4Help → Microsoft access help → type decimal numbers → search

Use the Microsoft access help to find information about decimal numberالعشرية األرقام عن معلومات إليجاد األكسيس مساعد إستخدم

Page 5: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

5

View menu-----Select Toolbars----- click formatting (form/Report) OR Right click on toolbar → Click formatting (form/Report)

Hide the formatting ( form / report ) toolbar .

األدوات شريط formatting form / reportأخف

Page 6: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

6File menu----Choose Save------Type Sales------Click OK

Save the above table and give it the name Sales .بإسم سمه و الجدول هذا salesإحفظ

Page 7: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

7

Type Contact Name → Press Tab

Enter the field name Contact Name into the empty row.When youHave finished,move the insertion point to the Data Type column

إسمة حقال ال contact nameأدخل لعمود تحرك ثم الفرغ الصف تنتهى data typeفى عندما

Page 8: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

8

Select Dawson------Type Jack------Press Tab

Change the entry in the Surname field of this record to Jack.Move to the next field in this record when you have finished

لكلمة اللقب حقل محتوى السجل Jackعدل نفس فى التالى للحقل تحرك ثم

Page 9: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

9

Click on the button

Navigate quickly to the last record in this table.الجدول هذا فى األخير للسجل بسرعة إنتقل

Page 10: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

10

Page 11: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

11File menu------Choose Save----- File menu------Choose close

Save and close this tableالجدول إغلق و إحفظ

Page 12: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

12

In the indexed box → choose yes (duplicates ok)

The surname field will be used in a lot of searches ; so we should index it.Create a suitable index for this field .

ال إنشئ surnameحقل البحث عملية فى كثيرا يستخدمالحقل لهذا المالئمة الفهرسة

Page 13: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

13

Put the insertion point in the Date of birth field------in the

format box-------Select long date

Specify that dates of birth in this table display in the format 8 December 2007 .

التالى باشكل ليظهر الميالد تاريخ حقل November 12خصص2000

Page 14: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

14

If u change the surname field size property to 10, exiting data will not change.

إلى الحقل حجم تغيير تم ال 15إذاالحالية البيانات فى تغيير يحدث

If u decrease the surname field size ; data will not be lost.

You cannot change the surname field size because the table contains data .

If you increase the field size for surname field .the data will be processed faster .

Which one of the following statements setting the field size property in a table are true .

صحيح الجدول هذا فى الخط حجم تعديل عن التالية العبارات من أى

Page 15: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

15In the validation Rule box type >100 → Press Enter

Enter a validation rule to ensure that entries into this field must be numbers greater than 100 .

Press Enter when you have finished .الحقل هذا فى المدخل أن لتضمن الصحة من التحقق قاعدة إدخل

من أكبر 100أرقام

Page 16: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

16

Each Author has written a

number of books .

Set up a one-to-many

relationship

between the Book

and Author tables .

من عدد كتب مؤلف كلرأس عالقة إنشئ الكتب

جدول بين بأطراف:author The answerوجدول bookال

Click on the Relationships tool in the database toolbar → click on the Author ID in the author table drag and drop it to the Author ID in the book table----Click Create

Page 17: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

17

The payment table contains billing details for each patient .Edit the relationalship between the payment and patient tables to prevent a patient who has made a payment from being deleted .

جدولى بين العالقة بتحرير الحذف patientوجدول paymentقم لمنعال الجدول patientمن

Double click on the line between Patient table and Payment table ------ select Edit Relationship ….. Check the Enforce Referential Integrity → ok

Page 18: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

18

Access the option that would enable you to create a new form

without the help of a wizardالمعالج إستخدام بدون نموذج إنشاء تتيح التى الوظيفة بعرض قم

Select Forms from the objects pane → Double Click on the Create form in Design view

Page 19: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

19

The doctor in record 4 is no longer available.

Delete this record from the database.السجل فى الموجود السجل 4الدكتور هذا بحذف قم متاح غير أصبح

البيانات قاعدة Edit menu------Choose Delete Record-----Click Yes من

OR:Click on this icon -----Click Yes

Page 20: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

20

Alter the header text to Patient details and press Enter key when you have finished

كلمة إلى الصفحة رأس فى الموجود النص بتعديل قم patient detailsقم ثم

على اإلنتهاء enterبالضغط عند

Click on the Patient box -----Type details → Press Enter

Page 21: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

21

Edit menu→ Choose Find → Type 3546-1236-7 in find what box → Click Find next button

Use the search tools provided by Access to find the book with the Unique(ISBN) code 3546-1236-7

هو كودها التى الكتب إليجاد البحث أداة 7-1236-3546إستخدم

Page 22: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

22

In the First Name field----- select the S letter from the word seleman→ Click on this icon

Use Filter By Selection to filter the records of all employees whoseFirst Name begins with S.

ال بحرف تبدأ التى الموظفين أسماء بيانات لتصفية بالتحديد التصفية sإستخدم

Page 23: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

23

Save the above query and give it name Doctors

بإسم الشاشة أعلى الموجود اإلستعالم بحفظ قمDoctors

File menu →Choose Save---- Type Doctors → ok

Page 24: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

24

Find all payment made on or after 20/7/2005

Press Enter when you have finished .

بعد أو فى المدفوعات كل عن 20/07/2005إبحث

Type HERE >=20/7/2005--- Press Enter

Page 25: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

25

Click on the Books by Americans → Edit menu----select Delete → Click yes

We no longer need the query, Books by Americans.

Delete this query now.

اإلستعالم نحتاج ال بحذفة Books by Americansنحن قم األن

Page 26: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

26

Add the appropriate field from the Employee table to the 3rd Column of the grid so that this query will be able to sort Employee Records according to their age

Ans:Click HERE ---Select Birth Date

ال جدول من المناسب الحقل بإضافة إلى Employeeقمسجالت ترتيب لك يتيح الذى و التخطيط من عمود ثالث

ألعمارهم تبعا الموظفين

Page 27: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

27

Change this query so that it will just find books by Spanish authors,And then run the query

اإلستعالم شغل ثم األسبان المؤلفين بواسطة المؤلفة الكتب فقط ليوجد اإلستعالم بتغيير قم

Click on this icon ------ use the back space to delete

the word Russian and or ------ Click on this icon

Page 28: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

28

Sort this query so that the most recent payments display at the Top of the datasheet.

اإلستعالم أعلى تظهر الحديثة المدفوعات أغلب أن بحيث اإلستعالم هذا بترتيب قم

Put the insertion point in the payment date field → Click onThis icon

Page 29: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

29

From the Tables/Queries drop down list select Table:Extract → Click on this icon ------- Click Next

A wizard is being used to create a new report.Base this report on The Extract table.and add all the fields from the table to the report’s Design.Click the Next button when you finish

لجدول تبعا التقرير هذا بإنشاء التالى extractقم إضغط ثم الجدول من الحقول كل بإضافة قم ثم

Page 30: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

30

Group the patients in this report by Patients’ surname with First name displayed in alphabetical order.

حقل إلى تبعا تجميع مستوى بعمل حقل surnameقم بإظهار قم ثمtitle إضغط ثم أبجديا finishمرتب

Select Surname----Click on this icon ------Click Next------ from the first drop down list Select First Name-----Click Finish

Page 31: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

31

Change the orientation of the print output so that pages will be printed wider than they are tall.

طولها من أكبر عرضها تطبع لكى الصفحات طباعة إتجاه بتغيير قم

File menu-----Choose Page setup----Select the Page tab----- Select the Landscape------Click Ok

Page 32: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

32

Print pages 4 to 6 in this form, using the current print settings.

من الصفحات بطباعة اإلعدادات 6إلى 4قم بإستخدام File menu----Choose Print---- Select Pages -----Type 4 in theالحاليةfirst box -----Type 6 in the second box ---Click ok.

Page 33: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

33

Modify the printer settings to print 2 copies of this report.

طباعة على لتشمل الطباعة عملية إعدادات عدلالتقرير هذا من File menu----Choose Print-----in number of copies use theنسختين

arrows to select 2-----Click Ok

Page 34: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

34

How many fields would be necessary to store this record and enable to maximum flexibility for data retrieval ?

المرونة بإستخدام السجل هذا لتخزين الالزمة الحقول عدد كم

القصوى

Type 6

Mr Ahmed Sallam , 12 haron street , El Giza A135R

Page 35: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

35

Which of theses fields would be best suited to use as the Primary key for this table?

مفتاح ليكون مالئمة األكثر التالية الحقول هذه من أى أساسى

Click HERE

Page 36: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

36

Create a database using the option that will enable you to build your database using pre-set options.

قاعدة إنشاء لك تتيح التى الوظيفة مستخدما بيانات قاعدة إنشئمسبقا Select Access database wizards, pages, and projects---Click Okمعدة

Page 37: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

37

Switch to Design view.التصميمى العرض إلى إنتقل

View menu-----Choose Design View

OR:Click on this icon

Page 38: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

38

Create a new table in Design view.

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

Double click on the Create table in Design view

Page 39: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

39

Navigate directly to the first record in this table.

الذى الجدول هذا داخل األول السجل إلى بالتنقل قمClick on this button تراه

Page 40: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

40Edit menu----Choose Delete

A business,Coffee Galore,has moved premises.

Please delete the selected value, Camberwell Lane, from this record.

المحددة القيمة بحذف هذا comber well lane قم من السجل

Page 41: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

41

Make the most appropriate field the Primary key for this table.

أساسيا مفتاحا مالئمة األكثر الحقل إجعلClick Here ------ Click on this icon

Page 42: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

42

Using Click-and-drag, Move the selected column to between the Gender and the Date of birth fields.

الحقل بتحريك قم اإلفالت و السحب وظيفة بإستخدمبين ليكون المحدد

Gender , date of birth Click on the header of the selected field and drag it t between the Date of birth and Gender.

Page 43: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

43

Delete the One-to-many relationship between the Patient and Payment tables.

الجدولين بين العالقة بحذف patient and paymentقم

Click here------Then Edit menu-------Select Delete---Click Yes

Page 44: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

44

Click HERE-----Edit menu------Choose Delete-----File menu---Choose Save

Delete the text box Surname from this form.

Save the changes without closing the form.

النص صندوق بحذف هذه classقم إحفظ ثم النموذج هذا منالنموذج غلق دون التغييرات

Page 45: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

45

Navigate to the next record in this form.

النموذج هذا فى التالى للسجل مباشرة إنتقلClick on this button

Page 46: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

46

Make the Doctor and Patient tables the record source for this query.

Close the Show Table dialog box When you finishجدول إغلق stock,customerإجعل ثم اإلستعالم فى لك مصدر

بالجدول الخاص الحوارى المربعClick add ---- Select Patient----Click Add------Click Close.

Page 47: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

47

This query shows all patients born before 1962.

Change it so that the date of birth will not be visible in the query results.

عام قبل المولودين المرضى يوضح اإلستعالم بتغيير 1962هذا قممرئى غير الميالد تاريخ حقل يكون بحيث اإلستعالم

Click on the header of Date Of Birth field→ Choose Hide Column

Page 48: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

48

Which two of the following statements about the layout of data fields and headers are true ?

البيانات حقول تخطيط عن صحيحتين إجابتين بإختيار قم

To move a field and its heading, you

just need to move the Page Header.

You can change the layout of a report in

print preview.

You must use Design View to change the

layout of a report.

The order in which you add field in the Wizard sets how they display in the report.

فى - تعديل أى إلجراء التصميم عرض بإستخدام ملزم أنتالتقرير تخطيط

المعالج- ( ) 2 طريقة فى الحقول إضافة به تتم الذى الترتيبالتقرير فى الحقول هذه تظهر كيف يحدد

Page 49: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

49

Print 1 copy of the first 5 records in this table using the default printer.

هذا فى سجالت خمسة أول من واحدة نسخة إطبعالحالية اإلعدادات مستخدما الجدول

Select the first 5 records-------File → print →In Print Range------- Check Selected Record -------Click ok

Page 50: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

50

Which data type is most appropriate for a postal code field such as A258X ?

مثل بريدى كود لحقل مالئمة أكثر بيانات نوع M54WTأى

Number

Auto Number

Text

Date / time

Page 51: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

51

Which two of this statement about indexes are true ?الفهرسة عن صحيحتين إجابتين بإختيار قم

An index is used to list all the fields in a data base

You can index any field no matter what its data type is

You should index a field that is frequently sorted

If an index is used it slows down data base searches .

Indexing is especially useful when working with large tables

مرارا ( ) كثيرا سيفرز الذى الحقل فهرسة ينبغىالجدول التعاملمع عند خاصة مفيدة الفهرسة عملية

الضخمة

Page 52: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

52

Which two of these statement about relational data base are true ?

عالقات عى المحتوية البيانات قواعد عن صحيحتين الجملتين أىA non-relational database can be searched more efficiently than a relational database.

A relational database is easier to maintain than a non-relational one.

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

.Smaller linked tables are harder to manage than one big one.

A relational database is one that contains linked tables.

مترابطة جداول تتضمن التى تلك هى عالقات على المشتملة البيانات . قواعد

Page 53: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

53

Which one of these criteria will find employees born before 31/12/70 ?

إليجاد وذلك المناسب المعيار لمكان معيار أنسب إسحبقبل لدوا و الذين 31/12/1970الموطفين

المعيار فى ووضعها

1. < 31 Dec 1970.

2. >= Dec 31 1970.

3. > 31 Dec 1970.

4. <= Dec 31 1970.

Drag this criteria to HERE

Page 54: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

54

A Filter by Selection has been applied to this table.

Remove the filter.

التصفية ..... هذه أزل بالتحديد التصفية عملية تمت

Click on this icon

Page 55: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

55

Use Filter By Selection to filter the records of all employees whoHave not taken any days sick leave.

بحيث للبيانات تصفية عمل فى التصفية خاصية إستخدممرضية أجازة يإخذوا لم الذين الموظفين يعرضIn the Days Sick field----- select 0 → Click on this icon

Page 56: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

56

Save this database as HOSPITAL into the My Documents folder.

باألسم البيانات قاعدة المجلد HOSPITALإحفظ فىMy DocumentsSelect My Documents-----Type HOSPITAL in the file name------

Press Create.

Page 57: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

57

Close the HOSPITAL database without closing Microsoft Access.

البيانات قاعدة أغلق األكسس غلق HOSPITALبدونFile menu-----Choose Close.

Page 58: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

58

Add an empty field above the First Name field in this table.

الجدول هذا فى األول األسم حقل فوق خالى صف إدرج

Click here-----Insert menu -----Select rows.

Page 59: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

59

Navigate directly to record 25 in this table.

العشرين و الخامس للسجل مباشرة توجهPut the cursor in this box -----Select 1 ---Type 25----Press Enter

Page 60: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

60

Enter a validation rule to ensure entries into this field must be either the words Cash or Credit.

Press Enter when you finished.

تكون الحقل هذا مدخالت أن لتأكيد تحقق قاعدة إدخلالكلمتين من أيا إضغط Cashأو - Creditفقط enterثم

Put the cursor in the validation rule-----Type Cash or Credit Press Enter.

Page 61: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

61

Delete both the label and text box Surname from this form.

Save the changes without closing the form.

ال نص وصندوق عنوان من كال التغيير Surnameإحذف هذا إحفظ ثمالنموذج غلق ---Click Here-----Edit menu-----Choose Delete----File menu بدون

Choose Save

Page 62: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

62

This query has been designed to find all patients who have made payments since January 1, 2003.

Run this query now.

منذ هذا مدفوعات دفعوا الذين المرضى إليجاد تصميمة تم اإلستعالماإلستعالم 1/1/2003 هذا Click on this iconشغل

Page 63: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

63

Choose the correct statement from the following:

Changing the field size property for the Surname field to 7 won’t change the existing data.

Data will be processed faster if you increase the field size for the Surname field.

You cannot change the Surname field size because data has already been entered in the table.

Changing the Surname field size property to 40 will not change existing data.

Page 64: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

64

One extract from each book is stored in the extract table.Set up a one-to-one relationship between Book and Extract tables

The answer:Click on the Relationships tool → click on the Book ID in the Extract table drag and drop it to the Book ID in the Book table----Click Create

Page 65: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

65

Type here <> Russian → Press Enter

Find books by all authors who are not Russian. Press Enter When you finished

Page 66: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

66

Sort these records so that Doctors with surnames beginning with A would display at the top of the datasheet.

تبدأ اللذين الكتاب يظهر بحيث السجالت هذه بفرز قمبحرف الجدول Aألقابهم قائمة فى

Click in the Surname field------Click on this icon

Page 67: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

67

Delete the control for the Date from this report.

التقرير هذا من التاريخ تحكم إحذف

Select ------Edit menu--------Delete

Page 68: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

68

Open the Patient report in Print Preview.

Select the payments by patient → Click on Preview  Or click on payments by patient----- File menu------- Print Preview

Page 69: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

69

Put the Cursor HERE ------- In the field size box use the drop down list → Select single

Carry out the necessary steps to ensure that you can enter half-days in the Days leave field.

فى األيام أنصاف إدخال من للتمكن الآلزمة بالخطوات قمال days leaveحقل

Page 70: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

70

Select Queries from the objects pane → double click on Create query in design view

Access the option that would enable you to create a new query without the help of the Simple Query Wizard.

المعالج إستخدام بدون جديد إستعالم إنشاء من ستمكنك التى الخاصية إستعرض

Page 71: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

71

Database Not a DatabaseEncyclopedia

Sales Catalogue

Student register

Novel

Shopping list

Customer Records

Encyclopedia

Sales Catalogue

Student register

Novel

Shopping list

Customer Records

موسوعة

رواية

تسويق قائمة

مبيعاِت, دليل

طالب, سجل.

زبون, سجالِت

Page 72: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

72

<100 will find values that are greater than 100.

>= 10 will find values that are greater than or equal to 10

>=Sep 30 1950 will find dates that are equal to or before Sep 30th 1950

<=Oct 31 1956 will find dates that are equal to or after Oct 31th 1956

<Jan 1 1965 And > Dec 31 1963 will find all dates in 1964

Which two of the following statements are true?

Page 73: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

73

In the data type column → use the drop down list and select Auto number → Press tab

Select the data type that will automatically assign a unique Customer ID number to each new Customer.

Move the next cell when you have finished

تلقائيا بعبأ الحقل يجعل الذى البيانات نوع بإختيار قمإلى بالتحريك قم ثم للعميل الفريد التعريفى بالرقم

تنتهى عندما التالية الخلية

Page 74: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

74

Put the cursor in the indexed box → from the drop down list select yes (No Duplicates)

The Product code field contains a unique reference for each Product.This field will be used in a lot of searches, so we should index it.Create a suitable index for this field.

فهرس . product codeحقل منتج لكل فريد مرجع يتضمنالمناسبة الفهرسة الحقل هذا

Page 75: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

75

Select Queries from the objects pane → Double click

on Create Query by using Wizard

Create a new query using the Simple Query Wizard.

المعالج مستخدما جديد إستعالم إنشاء

Page 76: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

76

Which one of the following is not a database?بيانات قاعدة يعتبر ال العبارات هذه من أى

A sales Catalogue ,مبيعاِت دليل

A newsletter معلومات و أخبار تحمل أونشرة صحيفة

A Price list أسعار قائمة

A telephone directory هاتف دليل

Page 77: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

77

Enter a record for a full-time student named Brian Blaire into This table.Move to the next row in this table when you have finished

Click on this icon -------Type Brian in the fname field----Press Tab----Type Blaire in the lname field-----Press Tab----Type full-time in status Field-----Click on this icon

Page 78: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

78

Enter the name Mary into the First Name Field. Move to the next field when you have finished

Type Mary-----Press Tab

Page 79: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

79

Each patient has been billed a number of times.Set up a one-to-Many relationship between the patient and payment tables.

The answer:Click on the Relationships tool → ----Click on the Patient ID in Patient Table drag and drop it to the Patient ID in Payment Table----Click Create

Page 80: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

80

You need to create a new form.Launch the Form Wizard now.

Select Forms from the objects pane → Double click

on Create Form by using Wizard

Page 81: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

81

Click in any cell in the date of birth field----Edit menu→ Choose Find → Type 30/06/1963 in find what box → Click Find next button

Use the search tools provided by Access to find a patient with the Date of birth 30/06/1963

Page 82: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

82

Use Filter By Selection to filter the records of all employees whoWere born in 1956

In the Date of Birth field----- select the 56 --- Click on this icon

Page 83: 1  If a Record in a Parent Table Has a Related Child Record, Referential Integrity Prevents You From Deleting the Parent Record. إذا كان السجل فى الجدول

83

Which two of the following are databases?

Student register ,طالب سجل.

Bank Statement المصرفي الحساب كشف

Mail Order catalogue بريد قائمة

Newsletter صحيفة

Novel رواية