1 / 83

If a Record in a Parent Table Has a Related Child Record ,

Which Two of These Statements About Referential Integrity Are True ? أى من الجملتين الأتيتين عن التكامل المرجعى صواب. If a Record in a Parent Table Has a Related Child Record , Referential Integrity Prevents You From Deleting the Parent Record .

wernera
Download Presentation

If a Record in a Parent Table Has a Related Child Record ,

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Which Two of These Statements About Referential Integrity Are True? أى من الجملتين الأتيتين عن التكامل المرجعى صواب • 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 . - السجل الفرعى لا يمكنك الإضافة فيه إلا إذا كان السجل موجود فى الجدول الرئيسى إذا كان فرض التكامل المرجعى يستعمل

  2. Log on the database named Car Hire with the username icoffey and password ken*72 إفتح قاعدة البيانات المسماة Car Hire وإستخدم إسم المستخدم icoffey وكلمة سرken*72 Select open an existing file → select c:\windows\desktop\car hire → ok → Type icoffey in the name box → ken*72 in the password box

  3. Create a new blank database . إنشئ قاعدة بيانات جديدة فارغة File menu-------→ Select database → ok

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

  5. Hide the formatting ( form / report )toolbar . أخف شريط الأدوات formatting form / report • View menu-----Select Toolbars----- click formatting (form/Report) • OR Right click on toolbar → Click formatting (form/Report)

  6. Save the above table and give it the name Sales . إحفظ هذا الجدول و سمه بإسم sales File menu----Choose Save------Type Sales------Click OK

  7. Enter the field name Contact Name into the empty row.When you Have finished,move the insertion point to the Data Type column أدخل حقلا إسمة contact name فى الصف الفرغ ثم تحرك لعمود ال data type عندما تنتهى Type Contact Name → Press Tab

  8. 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 ثم تحرك للحقل التالى فى نفس السجل Select Dawson------Type Jack------Press Tab

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

  10. Save and close this table إحفظ و إغلق الجدول File menu------Choose Save----- File menu------Choose close

  11. The surname field will be used in a lot of searches ; so we should index it.Create a suitable index for this field . حقل ال surname يستخدم كثيرا فى عملية البحث إنشئ الفهرسة الملائمة لهذا الحقل In the indexed box → choose yes (duplicates ok)

  12. Specify that dates of birthin this table display in the format 8 December 2007 . خصص حقل تاريخ الميلاد ليظهر باشكل التالى 12 November 2000 Put the insertion point in the Date of birth field------in the format box-------Select long date

  13. Which one of the following statements setting the field size property in a table are true . أى من العبارات التالية عن تعديل حجم الخط فى هذا الجدول صحيح • 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 .

  14. Enter a validation rule to ensure that entries into this field must be numbers greater than 100 . PressEnterwhen you have finished . إدخل قاعدة التحقق من الصحة لتضمن أن المدخل فى هذا الحقل أرقام أكبر من 100 In the validation Rule box type >100 → Press Enter

  15. The answer: 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 Each Author has written a number of books . Set up a one-to-many relationship between the Book and Author tables . كل مؤلف كتب عدد من الكتب إنشئ علاقة رأس بأطراف بين جدول الbook وجدول author

  16. The payment table contains billingdetails for each patient . Edit the relationalship between the payment and patient tables to prevent a patient who has made a payment from being deleted . قم بتحرير العلاقة بين جدولى payment وجدول patient لمنع الحذف من الجدول ال patient Double click on the line between Patient table and Payment table ------ select Edit Relationship ….. Check the Enforce ReferentialIntegrity → ok

  17. Access the option that would enable you to create a new form without the help of a wizard قم بعرض الوظيفة التى تتيح إنشاء نموذج بدون إستخدام المعالج Select Formsfrom the objects pane → Double Click on the Create form in Design view

  18. Edit menu------Choose Delete Record-----Click Yes • OR:Click on this icon -----Click Yes The doctor in record 4 is no longer available. Delete this record from the database. الدكتور الموجود فى السجل 4 أصبح غير متاح قم بحذف هذا السجل من قاعدة البيانات

  19. 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

  20. Use the search tools provided by Access to find the book with the Unique(ISBN) code 3546-1236-7 إستخدم أداة البحث لإيجاد الكتب التى كودها هو 3546-1236-7 Edit menu→ Choose Find → Type 3546-1236-7 in find what box → Click Find next button

  21. 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 whose First Name begins with S. إستخدم التصفية بالتحديد لتصفية بيانات أسماء الموظفين التى تبدأ بحرف الs

  22. Save the above query and give it name Doctors قم بحفظ الإستعلام الموجود أعلى الشاشة بإسم Doctors File menu →Choose Save---- Type Doctors → ok

  23. Type HERE >=20/7/2005--- Press Enter Find all payment made on or after 20/7/2005 Press Enter when you have finished . إبحث عن كل المدفوعات فى أو بعد 20/07/2005

  24. We no longer need the query, Books by Americans. Delete this query now. نحن لا نحتاج الإستعلام Books by Americans قم بحذفة الأن Click on the Books by Americans → Edit menu---- select Delete → Click yes

  25. Ans:Click HERE ---Select Birth Date Add the appropriate field from the Employee table to the 3rdColumn of the grid so that this query will be able to sort Employee Records according to their age قم بإضافة الحقل المناسب من جدول الEmployee إلى ثالث عمود من التخطيط و الذى يتيح لك ترتيب سجلات الموظفين تبعا لأعمارهم

  26. Click on this icon ------ use the back space to delete the word Russian and or ------ Click on this icon Change this query so that it will just find books by Spanish authors, And then run the query قم بتغيير الإستعلام ليوجد فقط الكتب المؤلفة بواسطة المؤلفين الأسبان ثم شغل الإستعلام

  27. Put the insertion point in the payment date field → Click on This icon Sort this query so that the most recent payments display at the Top of the datasheet. قم بترتيب هذا الإستعلام بحيث أن أغلب المدفوعات الحديثة تظهر أعلى الإستعلام

  28. 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 ثم قم بإضافة كل الحقول من الجدول ثم إضغط التالى

  29. Select Surname----Click on this icon ------Click Next------ from the first drop down list Select First Name-----Click Finish Group the patients in this report by Patients’ surname with First name displayed in alphabetical order. قم بعمل مستوى تجميع تبعا إلى حقل surname ثم قم بإظهار حقل title مرتب أبجديا ثم إضغط finish

  30. 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

  31. File menu----Choose Print---- Select Pages -----Type 4 in the first box -----Type 6 in the second box ---Click ok. Print pages 4 to 6 in this form, using the current print settings. قم بطباعة الصفحات من 4 إلى 6 بإستخدام الإعدادات الحالية

  32. 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

  33. How many fields would be necessary to store this record and enable to maximum flexibility for data retrieval ?كم عدد الحقول اللازمة لتخزين هذا السجل بإستخدام المرونة القصوى Mr Ahmed Sallam , 12 haron street , El Giza A135R Type 6

  34. Click HERE Which of theses fields would be best suited to use as the Primary key for this table? أى من هذه الحقول التالية الأكثر ملائمة ليكون مفتاح أساسى

  35. 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

  36. View menu-----Choose Design View OR:Click on this icon Switch to Design view. إنتقل إلى العرض التصميمى

  37. Create a new table in Design view. إنشئ جدول جديد بطريقة عرض التصميم Double click on the Create table in Design view

  38. Click on this button Navigate directly to the first record in this table. قم بالتنقل إلى السجل الأول داخل هذا الجدول الذى تراه

  39. A business,Coffee Galore,has moved premises. Please delete the selected value, Camberwell Lane, from this record. قم بحذف القيمة المحددة comber well lane من هذا السجل Edit menu----Choose Delete

  40. Click Here ------Click on this icon Make the most appropriate field the Primary keyfor this table. إجعل الحقل الأكثر ملائمة مفتاحا أساسيا

  41. 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.

  42. Delete the One-to-many relationship between the Patient and Payment tables. قم بحذف العلاقة بين الجدولين patient and payment • Click here------Then Edit menu-------Select Delete---Click Yes

  43. Delete the text box Surname from this form. Save the changes without closing the form. قم بحذف صندوق النص class من هذا النموذج ثم إحفظ هذه التغييرات دون غلق النموذج Click HERE-----Edit menu------Choose Delete-----File menu---Choose Save

  44. Click on this button Navigate to the next record in this form. إنتقل مباشرة للسجل التالى فى هذا النموذج

  45. 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.

  46. 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

  47. 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- الترتيب الذى تتم به إضافة الحقول ( فى طريقة المعالج ) يحدد كيف تظهر هذه الحقول فى التقرير

  48. 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

  49. Which data type is most appropriate for a postal code fieldsuch asA258X ? أى نوع بيانات أكثر ملائمة لحقل كود بريدى مثل M54WT • Number • Auto Number • Text • Date / time

More Related