lesson17 create reports

38
Abdullatif Tarakji [email protected] Create a report ء التقرير إنشاRunning the Report wizard Building reports in Layout view To work with controls in Layout view Using report design tools Using subreports Deleting reports لج التقرير تشغيل معا طريقة عرض التخطيطر فيلتقاريء ا بناصر التحكم في عنامل معلع ل عرض التخطيطيم التقرير تصمخدام أدوات استرير الفرعيةلتقا استخدام التقارير حذف ا

Upload: abdullatif-tarakji

Post on 22-Jan-2018

234 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Lesson17 Create Reports

Abdullatif [email protected]

Create a reportإنشاء التقرير

Running the Report wizard

Building reports in Layout view

To work with controlsin Layout view

Using report design tools

Using subreports

Deleting reports

تشغيل معالج التقرير

بناء التقارير في طريقة عرض التخطيط

للعمل مع عناصر التحكم في عرض التخطيط

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

استخدام التقارير الفرعية

حذف التقارير

Page 2: Lesson17 Create Reports

Abdullatif [email protected]

• You can use reports to create a view of your data, to group and summarize data, and to provide data in a format that’s suitable for sharing, printing, and presentations. As with forms, you build reports by adding fields from one or more tables or queries. You can format reports to emphasize data and enhance their appearance by adding graphics, logos, titles, and descriptive labels.

• An important step in setting up many reports is defining how you want Access to group records. For example, in a report summarizing a product list by supplier, Access inserts a group header for each supplier’s name and can then list and sort that supplier’s products within each group.

• Like forms, reports contain several sections, including Page Header, Detail, and Page Footer. In the Page Header section, you can include labels that identify the data fields in the Detail section, for example. Use the Page Footer section to display page numbers and similar information. A report can also include the Report Header and Report Footer sections. The Report Header section appears only on the first page of a report and can be used to display a title or a logo. The Report Footer section appears at the end of the report. Use this section to display a grand total of values on the report.

ة بك، يمكنك استخدام التقارير إلنشاء طريقة عرض البيانات الخاص•

ناسب للمشاركة، تنسيق موتلخيص البيانات، وتوفير البيانات في لتجميع

ارير تقالنماذج، بناء كما هو الحال مع . التقديميةوللعروض ، للطباعة

يق يمكنك تنس. من استعالمبإضافة الحقول من جدول واحد أو أكثر أو

فة التقارير للتأكيد على البيانات وتعزيز مظهرها عن طريق إضا

.توضيحية، وتسميات العناوين, الشعارات, الرسومات

سيس األكخطوة هامة في إقامة العديد من التقارير هي تحديد كيف تريد •

ة المنتج من على سبيل المثال، في تقرير يلخص قائم. لتجميع السجالت

إدراج رأس المجموعة السم كل مورد لألكسيس قبل المورد، يمكن

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

أقسام، بما في ذلك رأس عدة على التقارير تحتوي النماذج، مثل •

مكنك في قسم رأس الصفحة، ي. ، وتذييل الصفحةتفصيلالصفحة،

، يلالتفصالتي تحدد حقول البيانات في مقطع التسميات تضمين

لصفحات استخدام قسم تذييل الصفحة لعرض أرقام ا. سبيل المثالعلى

قرير يمكن أن يتضمن التقرير أيضا األقسام رأس ت. ومعلومات مشابهة

ة األولى من يظهر مقطع رأس التقرير فقط على الصفح. وتذييل التقرير

ذييل يظهر مقطع ت. التقرير، ويمكن استخدامها لعرض عنوان أو شعار

لكلي استخدام هذا القسم لعرض المجموع ا. التقرير في نهاية التقرير.التقريرفي للقيم

Page 3: Lesson17 Create Reports

Abdullatif [email protected]

• You can view completed reports in Print Preview or Report view. Print Preview is a static view that shows how the report’s printed pages will appear, for example, whether the margins are set correctly, whether formatting is in place, and whether the information you want in the report’s header and footer sections is included. The Print Preview tab that Access displays in this view includes a Print button, the Page Size and Page Layout groups, the Zoom group, and the Data group. You can use options in the Data group to export a report to Microsoft Excel, to a text file, as a PDF or XPS document, in email, and in other formats.

Report view is a more interactive view. In Report view, hyperlinks are enabled, and you can also apply a filter to a report. After you apply a filter, you can print the filtered report to show only that subset of data.

• This chapter guides you in studying how to use the tools for creating reports. This chapter also describes how to organize and format report controls, how to group and sort data in reports, and how to format reports, including how to specify page setup and layout options.

. قريرعرض التيمكنك عرض تقارير مكتملة في معاينة قبل الطباعة أو •

فحات يبين كيف سوف تظهر صالذي ثابت عرض معاينة قبل الطباعة هو

بشكل التقرير المطبوعة، على سبيل المثال، إذا كان يتم تعيين الهوامش

يدها في صحيح، سواء كان التنسيق في مكان، وإذا كانت المعلومات التي تر

ة قبل الطباعة عالمة التبويب معاين. تضمينهارأس وتذييل أقسام التقرير يتم

و يتضمن زر الطباعة، العرض في هذا و التي يعرضها األكسيس

ة الصفحة، مجموعة التكبير، ومجموعتخطيط , مجموعات حجم الصفحة

تقرير إلى لتصديراستخدام الخيارات في مجموعة البيانات يمكنك . البياناتMicrosoft Excel، نصي، كوثيقة ملفPDF أوXPS، في البريد

.التنسيقاتاإللكتروني، وغيرها من

فعيل تيتم عرض التقرير، في . أكثر تفاعالعرض التقرير هو عرض •

. قريرويمكنك أيضا تطبيق عامل تصفية على التاالرتباط التشعبي،

فقط يتها التي تم تصفتطبيق عامل تصفية، يمكنك طباعة التقرير بعد

.مجموعة فرعية من البياناتإلظهارها و التي هي

يصف . ريرشدك هذا الفصل في دراسة كيفية استخدام أدوات إلنشاء التقاري•

وكيفية تجميع ، و تنسيق عناصر تحكم التقريرهذا الفصل أيضا كيفية تنظيم

ي ذلك كيفية تحديد وفرز البيانات في التقارير، وكيفية تنسيق التقارير، بما ف.التخطيطإعداد الصفحة وخيارات

Page 4: Lesson17 Create Reports

Abdullatif [email protected] معاينة التقرير قبل الطباعة

Page 5: Lesson17 Create Reports

Abdullatif [email protected]

معاينة طريقة عرض التقرير

Page 6: Lesson17 Create Reports

Abdullatif [email protected] Create a report إنشاء التقرير• The options for creating reports on the ribbon’s Create tab are

Report, Report Design, Blank Report, Report Wizard, and Labels.

• The Report command uses all the fields in the table or query you select in the Navigation pane to build a basic report that Access opens in Layout view. On the Report Layout Tools Design tool tab, in the Views group, click Report View or Print Preview to display the report as is. Use the commands on the Design tool tab and on the Report Layout Tools Arrange and Format tool tabs to insert additional fields and controls, group and sort records, change the report’s layout, add a background image, and make other changes to the report’s design and formatting. Use the Report Layout Tools Page Setup tool tab to change the page size, page orientation, or margins. Later sections in this chapter cover tools and options on the Design, Arrange, Format, and Page Setup tool tabs in more detail.

• The Report wizard leads you through options for how to group, sort, and summarize the records in a report and provides a choice of layouts. If you want to create a report from scratch, click Blank Report to work in Layout view, or click Report Design to create the report in Design view.

• The Labels command displays a wizard that creates labels for an address list (similar to the mail merge operation in Microsoft Word.) You provide information such as label size, font attributes, and the data fields to include on the labels.

تقرير، تقرير، تصميم الهي إنشاءالتبويب في شريط عالمة الخيارات إلنشاء تقارير •

.فارغ، معالج التقارير، وتسمياتتقرير

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

. في عرض تخطيطيفتحها األكسيس و التيلبناء التقرير األساسي

عرض انقر فوقمجموعة العروض، في تخطيط التقرير تبويب أداة التصميم، أدوات على

. معاينة قبل الطباعة لعرض التقرير كما هوتقرير أو

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

يط السجالت، تغيير تخطفرز إضافية، مجموعة وعناصر تحكم حقول ترتيب إلدراج

. يرو تنسيق التقرالتقرير، إضافة صورة خلفية، وإجراء تغييرات أخرى لتصميم

تجاه لتغيير حجم الصفحة، ااستخدام أدوات تخطيط التقرير تبويب أداة اعداد صفحة

األدوات والخيارات على تغطي األقسام الالحقة في هذا الفصل . الهوامشالصفحة، أو

.أداة إعداد الصفحة في مزيد من التفاصيلوتبويب ، تنسيق، ترتيب, تصميم

في التقرير ، وتلخيص السجالتفرز, تجميعيقودك من خالل خيارات لكيفية معالج التقرير •

إنشاء تقرير من الصفر، تريد إذا كنت . الخيار للتخطيطاتويوفر

نشاء تقرير فوق تقرير فارغ للعمل في عرض تخطيط، أو انقر فوق تصميم التقرير إلانقر

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

ملية دمج على غرار ع)تسميات لقائمة العناوين التي تنشئ المعالج األمر تسميات تعرض •

معلومات مثل حجم التسمية، سمات الخط، تقديم (.Microsoft Wordالمراسالت في

.التسمياتلتضمينها في وحقول البيانات

Page 7: Lesson17 Create Reports

Abdullatif [email protected] Running the Report wizard

تشغيل معالج التقرير• Run the Report wizard when you want help creating a

report that includes fields from more than one table or query. After you select the fields for the report, the wizard prompts you to specify how you want to view the records in the report. The option you choose determines the first grouping level for the report. For example, you can choose By Suppliers or By Products for a report that includes fields from both of these tables. The wizard displays a preview that shows how the report’s records will be organized. Base your decision on the view of the data you want the report to provide. In this example, the report can display which products each supplier provides or all suppliers for individual products.

• You can select additional fields to use as grouping levels. Click Grouping Options to open a dialog box in which you set the grouping interval. Grouping intervals depend on a field’s data type. For a Date/Time field, you can use an interval such as year or quarter. For a numeric field, you can specify an incremental value such as 1,000. You can use text fields to group by a specific number of letters.

من الحقول تقرير يتضإلنشاء عندما تريد مساعدة معالج التقرير تشغيل •

يطالبك للتقرير،الحقول بعد تحديد . استعالم واحد أو أكثرأو جدول من

يار الذي الخ. المعالج لتحديد كيف تريد لعرض السجالت في التقرير

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

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

ظيم يعرض المعالج معاينة تبين كيف سيتم تن. كل من هذه الجداول

ريد على ضوء البيانات التي تقرارك قاعدة . السجالت في التقرير

نتجات الميمكنك التقرير من عرض في هذا المثال، . أن يقدمهاالتقرير

.التي توفر كل مورد أو جميع الموردين للمنتجات الفردية

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

ل الزمني لفتح مربع حوار حيث يمكنك تعيين الفاصالتجميع خيارات

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

. ةاستخدام فاصل مثل سنة أو ربع سنيمكنك , وقت/ لحقل تاريخ

. 1،000متزايدة مثل رقمي، يمكنك تحديد قيمة لحقل

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

Page 8: Lesson17 Create Reports

Abdullatif [email protected]

Page 9: Lesson17 Create Reports

Abdullatif [email protected]

• In the wizard, you can specify as many as four fields by which to sort data. You can use only those fields not specified for a grouping level. On the page where you specify the report’s sort order, click Summary Options to select a function, such as Sum or Average, that Access uses to summarize report data. On this page, you can choose between showing only summary data or both detail records (for example, itemized expenses in a specific budget category) and summary data (the total for that category).

• For the layout for the report, choose Stepped, Block, or Outline. A preview shows how each option affects the layout of the report. You can also select portrait or landscape orientation and specify whether the wizard should adjust the width of each field so that fields fit on the page. Selecting the option to adjust field width might cause some text boxes to display only a portion of the field’s data.

يمكن التيحقول في المعالج، يمكنك تحديد ما يصل إلى أربعة •

ول غير يمكنك فقط استخدام تلك الحق. من خاللها فرز البيانات

يد على الصفحة حيث يمكنك تحد. التجميعمحددة لمستوى

مثل ، دالةترتيب التقرير، انقر فوق خيارات ملخص لتحديد

Sum المتوسط الحسابي أوAvg ، األكسيس لتلخيصيستخدم

رض في هذه الصفحة، يمكنك اختيار بين ع. بيانات التقرير

البيانات الوحيدة أو بإجراءات موجزة أو كل من سجالت

ي فئة على سبيل المثال، المصروفات المصنفة ف)التفصيل

(.ةالمجموع لتلك الفئ)و تلخيص البيانات ( ميزانية محددة

هر وتظ. مفصلأو تخطي، كتلة، للتخطيط للتقرير، اختر •

. كيفية تأثير كل خيار تخطيط من التقريرالمعاينة

ان وتحديد ما إذا كلالتجاه أيضا تحديد عمودي أو أفقي يمكنك

في الحقولالمعالج يجب ضبط عرض كل حقل بحيث تناسب

عض تحديد الخيار لضبط عرض الحقل قد يسبب ب. الصفحة

.مربعات النص لعرض جزء فقط من بيانات الحقل

Page 10: Lesson17 Create Reports

Abdullatif [email protected] To create a report with the Report wizard

إلنشاء تقرير من معالج التقارير

1. On the Create tab, in the Reports group, click Report Wizard.

2. Use the Tables/Queries list to select the report’s record source, add the fields you want to use to the Selected Fields list, and then click Next.

3. Specify the field or fields by which you want to group records in the report. Click Grouping Options to specify the interval by which to group dates, numeric values, or text fields, and then click Next.

4. Choose the field or fields you want to use to sort records. Click Summary Options to specify the summary function you want to apply and to choose an option to view only summary data or both detail and summary data, and then click Next.

5. Choose a report layout and a page orientation, and then click Next.

6. Enter a name for the report, choose whether to preview the report or open the report in Design view, and then click Finish.

.اضغط معالج التقرير, من مجموعة تقارير, من تبويب إنشاء1.

, استعالمات الختيار مصدر سجل التقرير/استخدم قائمة جداول2.

ثم , أضف الحقول التي تريد استخدامها الى قائمة الحقول المحددة

.اضغط التالي

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

ة اضغط خيارات التجميع لتحديد الفاصل الزمني حسب مجموع

.ثم اضغط التالي, أو حقول النص, القيم الرقمية, التواريخ

اضغط .اختر الحقل أو الحقول التي تريد استخدامها لفرز السجالت4.

يقها و اختر خيارات التلخيص لتحدد داالت التلخيص التي تريد تطب

, بيانات معا الخيار لعرض تلخيص البيانات أو تفصيل و تلخيص ال

.ثم اضغط التالي

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

تح التقرير اختر فيما اذا تريد معاينة التقرير او ف, أدخل اسم التقرير6..ثم اضغط انهاء, في عرض التصميم

Page 11: Lesson17 Create Reports

Abdullatif [email protected] تشغيل معالج التقرير لجدول واحد

Page 12: Lesson17 Create Reports

Abdullatif [email protected]

Building reports in Layout view بناء التقارير في عرض التخطيط

• The Blank Report command opens an empty page in Layout view and displays the field list. (Click Show All Tables in the field list if no tables are shown.) To add fields to the report, in the field list, expand the list of fields for a table, and then drag a field to the report page or double-click the field.

• In Layout view, a report’s controls are contained within a layout that helps manage the alignment and arrangement of controls. For reports, Access provides two default layouts: tabular and stacked.

• In the tabular layout, controls are arranged in columns and rows (something like a spreadsheet). Labels are displayed in the report’s Page Header section (similar to column headings). Text box controls that display a field’s data are included in the report’s Detail section. In the stacked layout, controls appear in two columns, with labels in the left column and field controls in the right column. All controls in the stacked layout are included in a report’s Detail section.

ض قائمة فارغة في عرض تخطيط ويعرأمر تقرير فارغ يفتح صفحة •

تم يإذا لم انقر فوق إظهار كافة الجداول في قائمة الحقول . )الحقول

ل، قم إلضافة حقول إلى التقرير، في قائمة الحقو.( عرض أية جداول

قرير أو بتوسيع قائمة الحقول للجدول، ثم اسحب حقل إلى صفحة الت

.الحقلانقر نقرا مزدوجا فوق هذا

طيط تتضمن داخل التخالتقرير عناصر تحكم في عرض تخطيط، •

. المحاذاة والترتيب لعناصر التحكمإدارة يساعدك في الذي

: يةيوفر األكسيس نوعين من التخطيطات االفتراض، للتقارير

.جدولي ومكدس

الصفوف في تخطيط جدولي، يتم ترتيب عناصر التحكم في األعمدة و•

قسم ة صفحيتم عرض التسميات في رأس (. شيء مثل جدول بيانات)

تدرج عناصر تحكم مربع(. على غرار عناوين األعمدة)التقرير

. التقريرفيالتفصيل النص التي تعرض البيانات للحقل في مقطع

ات في تظهر عناصر التحكم في عمودين، مع تسميمكدس، تخطيط في

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

Page 13: Lesson17 Create Reports

Abdullatif [email protected]

By default, Access uses the tabular layout forreports it creates with the Report tool and forblank forms you create in Layout view. When youadd the first field, Access displays a button(identified by a lightning bolt icon) beside thefield. You can click this button to switch the reportfrom the tabular layout to the stacked layout. Youcan also switch between the tabular and stackedlayouts by selecting the layout from the Tablegroup on the Report Layout Tools Arrange tool tab.

معتنشئتياللتقاريرجدوليتخطيطاألكسيسيستخدمافتراضيا،

عند.تخطيطعرضفيبإنشائهاتقومفارغةونماذجتقريرأداة

قائمةرمزمحددة)زراألكسيسيعرضاألول،الحقلإضافة

منتقريرللتبديلالزرهذافوقالنقريمكنك.الحقلبجانب(مميزة

ينبالتبديلأيضايمكنك.مكدستخطيطإلىجدوليتخطيط

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

.الترتيبأداةتبويبالتقريرتخطيطأدواتالجدول

Page 14: Lesson17 Create Reports

Abdullatif [email protected]

• Layout view displays data from the underlying record source, but you cannot update the data in the report window. Click Edit Table in the field list to open the table in Datasheet view to work with the data itself.

• When you work in Layout view, the Design, Arrange, Format, and Page Setup tool tabs appear under Report Layout Tools. As you add and arrange fields, use options on these tabs to refine the report’s layout and appearance. For example, you can apply a theme to change the font and color scheme for the report, or use commands on the Format tab to add details such as colored fills or outlines to a control. On the Design tool tab, use the Grouping & Totals group to group and sort records, add totals, and hide details. Use the Header/Footer group on the Design tool tab to add a title, logo, or date and time to the report.

• Use the commands in the Rows & Columns group on the Arrange tool tab when you need to expand the area of a layout by inserting rows or columns. To add a row to a layout, first select an adjacent cell, and then click Insert Above or Insert Below. Similarly, select an adjacent cell, and then click Insert Left or Insert Right in the Rows & Columns group to insert a column. To delete a row or column, right-click a cell in that row or column and then click Delete Row or Delete Column.

يعرض البيانات من مصدر السجل األساسي، طريقة عرض التخطيط •

ل في قائمة انقر فوق تحرير الجدو. ال يمكنك تحديث البيانات في نافذة التقريرولكن

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

داد الصفحة و تبويب اع، التنسيق، الترتيب، التصميم، التخطيطعند العمل في عرض •

ات كما يمكنك إضافة وترتيب الحقول، وخيار. ضمن أدوات تخطيط التقريرتظهر

ل المثال، على سبي. استخدام على عالمات التبويب هذه لصقل تخطيط التقرير والمظهر

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

. التحكملعنصر ية التفصيلأو الخطوط باللون الملئالتبويب تنسيق إلضافة تفاصيل مثل

فرز والتجميع والمجاميع الكلية لتجميع على عالمة التبويب أداة تصميم، استخدم

عالمة فيتذييل /رأساستخدام مجموعة . السجالت، إضافة المجاميع، وإخفاء التفاصيل

شعار , عنوانالتبويب تصميم أداة إلضافة

.التاريخ والوقت للتقريرأو

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

لى إلضافة صف إ. الصفوف أو األعمدةمساحة التخطيط بإدراج تحتاج إلى توسيع

. تخطيط، أوال تحديد الخلية المجاورة، ومن ثم انقر فوق إدراج فوق أو إدراج أدناه

ي فلليمين وبالمثل، حدد الخلية المجاورة، ومن ثم انقر فوق إدراج اليسار أو إدراج

لحذف صف أو عمود انقر بزر الماوس األيمن . المجموعة صفوف وأعمدة إلدراج عمود

.فوق خلية في الصف أو العمود ثم انقر فوق حذف صف أو حذف العمود

Page 15: Lesson17 Create Reports

Abdullatif [email protected]

Page 16: Lesson17 Create Reports

Abdullatif [email protected]

Page 17: Lesson17 Create Reports

Abdullatif [email protected]

• Another way to alter the arrangement of a layout is to merge or split cells. By merging cells, you can have one control span two columns or rows. After selecting the cells you want to merge, click Merge in the Merge/Split group. In contrast, when you split a cell in a layout, you can place two controls in that cell. Use the Split Horizontally or Split Vertically command to split cells.

• By using the Move Up and Move Down commands in the Arrange tab’s Move group, you can reposition the rows or a single cell in a layout. Click a cell in the row you want to move, click Select Row in the Rows & Columns group, and then click Move Up or Move Down.

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

ر عنصعن طريق دمج الخاليا، يمكن أن يكون لديك . الخاليا

. من األعمدة أو الصفوفموزع على اثنين تحكم واحد

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

ط، يمكنك في المقابل، عند تقسيم خلية في التخطي. تقسيم/دمج

م األوامر استخد. وضع اثنين من عناصر التحكم في تلك الخلية

.الخالياتقسيم عمودي لتقسيم أو أفقي تقسيم

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

لية نقل عالمة التبويب ترتيب، يمكنك إعادة الصفوف أو خ

د نقله، انقر فوق خلية في الصف الذي تري. واحدة في تخطيط

انقر انقر فوق تحديد صف في مجموعة الصفوف واألعمدة، ثم

.فوق تحريك ألعلى أو تحريك ألسفل

Page 18: Lesson17 Create Reports

Abdullatif [email protected]

Page 19: Lesson17 Create Reports

Abdullatif [email protected]

• The two commands in the Arrange tool tab’s Position group adjust spacing between controls and the margins around the text a control displays. Each setting on the Control Margins menu (None, Narrow, Medium, and Wide) progressively increases the space between the upper-left corner of a control and the position where the control’s text appears. The Wide setting can obscure text in a text box that is anything less than approximately .3 inches in height (assuming the font size specified is the default 11 points).

• Settings on the Control Padding menu (also None, Narrow, Medium, and Wide) adjust the space between controls in the layout. Click Select Layout in the Rows & Columns group, click Control Padding, and then choose the padding option you want to apply.

• To specify report properties, click Property Sheet on the Design tool tab. In the property sheet, you can set properties for each report section, for controls, and for the report itself. For example, set the Default View property for the report to Report View or Print Preview depending on how you want Access to display the report when you open it.

ط ضبعالمة التبويب ترتيب الموضع من أداة األمرين في مجموعة •

ها التي يعرضحول النص عناصر التحكم والهوامش التباعد بين

اإلعداد في قائمة هوامش عنصر التحكم هي كل . عنصر التحكم

لزاوية يزيد تدريجيا المسافة بين ا( وعريضضيق، متوسط، بال، )

حيث يظهر النصالتحكم والموضع العلوية اليسرى من عنصر

ع النص في مربيحجب يمكن أن عريض اإلعداد . لعنصر التحكم

بوصة في االرتفاع 0.3تقريبا من أقل النص الذي هو

(.نقطة11على افتراض حجم الخط المحدد هو االفتراضي )

قة، ضيبال، أيضا )بالمسافة البادئة اإلعدادات على قائمة التحكم •

. طيطضبط مساحة بين عناصر التحكم في التخ( وعريضمتوسط،

فوق انقر فوق تحديد تخطيط في المجموعة الصفوف واألعمدة، انقر

.يقهتطبتريد الذي ثم اختر الخيار المسافة البادئة، عنصر تحكم

المة لتحديد خصائص التقرير، انقر فوق ورقة الخصائص في ع•

خصائص في صفحة الخصائص، يمكنك تعيين. التبويب أداة تصميم

على سبيل . وعلى التقرير نفسهلعناصر التحكم، ، من التقريركل قسم

ض التقرير خاصية العرض االفتراضي للتقرير إلى عرالمثال، تعيين

ول على اعتمادا على الطريقة التي تريد الحصمعاينة قبل الطباعة أو .عرض التقرير عند فتحه

Page 20: Lesson17 Create Reports

Abdullatif [email protected]

Page 21: Lesson17 Create Reports

Abdullatif [email protected]

Page 22: Lesson17 Create Reports

Abdullatif [email protected] To create a report using Layout view

إلنشاء التقرير باستخدام عرض التخطيط1. On the Create tab, in the Reports group,

click Blank Report.

2. In the field list, click Show All Tables (if no tables are shown), and then click the plus sign (+) beside the table you want to use as the report’s record source. If the field list is not displayed, click Add Existing Fields on the Report Layout Tools Design tool tab.

3. From the field list, drag the fields you want to include on the report and place them in the report window. You can align and reposition fields after you place them.

4. To add a logo, title, or date and time to the report, use the commands in the Header/Footer group.

5. On the Design tool tab, click Property Sheet.

6. In the property sheet, specify properties for the report and the report’s controls.

.اضغط تقرير فارغ, من مجموعة التقارير, من تبويب إنشاء1.

اضغط اظهار كافة الجداول , من قائمة الحقل2.

جانب )+( ثم اضغط على إشارة الجمع , (اذا لم تكن الجداول ظاهرة)

اذا كانت قائمة . الجدول الذي تريد استخدامه كمصدر لسجل التقرير

اضغط إضافة الحقول الموجودة من تبويب أداة , الحقل غير ظاهرة

.التصميم في صفحة أدوات تصميم التقرير

اسحب الحقول التي تريد تضمينها في التقرير و, من قائمة الحقل3.

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

.يمكنك تغيير الموضع و المحاذاة بعد وضعهم

ر استخدم األوام, او تاريخ و وقت الى التقرير, عنوان, إلضافة شعار4.

.تذييل/من مجموعة رأس

.اضغط صفحة الخصائص, من تبويب أداة التصميم5.

حدد خصائص التقرير و خصائص , من صفحة الخصائص6.

عناصر تحكم التقرير

Page 23: Lesson17 Create Reports

Abdullatif [email protected]

Page 24: Lesson17 Create Reports

Abdullatif [email protected]

Page 25: Lesson17 Create Reports

Abdullatif [email protected] To work with control layouts in Layout view

للعمل مع عناصر تحكم التخطيط في عرض التخطيط

1. In the Navigation pane, right-click the report, and then click Layout View.

2. Click the Report Layout Tools Arrange tool tab.

3. To apply a different layout to the report, select all the fields in the report, and then, in the Table group, click Stacked or Tabular.

4. To adjust the report’s layout, you can do the following:

1. To insert a row or column in the layout, click a cell in the adjacent row or column, click Select Row or Select Column in the Rows & Columns group, and then click Insert Above or Insert Below (for rows), or Insert Left or Insert Right (for columns).

2. To merge two cells in the layout, select the cells, and then click Merge in the Merge/Split group.

3. To reposition a row in the layout, click a cell in the row, click Select Row in the Rows & Columns group, and then click Move Up or Move Down in the Move group.

4. To specify margins for a control or the layout, select the control or click Select Layout in the Rows & Columns group. In the Position group, click Control Margins, and then select the option you want to apply.

5. To insert padding for a control or the layout, select the control or click Select Layout in the Rows & Columns group. In the Position group, click Control Padding, and then select the option you want to apply.

.خطيطثم اضغط عرض الت, كليك يمين على التقرير, من نافذة التنقل1.

.اضغط تبويب أداة الترتيب من أدوات تخطيط التقرير2.

ثم من و, اختر الحقول في التقرير, لتطبيق تخطيط مختلف للتقرير3.

.اضغط جدولي أو مكدس, مجموعة الجدول

:قم بالتالي, لتعديل تخطيط التقرير4.

غط اض, حدد الخلية حيث تريد الصف أو العمود, إلدراج صفوف أو أعمدة الى التقرير1.

ثم اضغط إدراج أعلى أو , اختيار صف أو اختيار عمود من مجموعة صفوف و أعمدة

.أو إدراج يسار أو إدراج يمين لألعمدة, إدراج أسفل للصفوف

.مثم اضغط دمج من مجموعة دمج و تقسي, حدد الخاليا, لدمج خليتين في التخطيط2.

صف من اضغط تحديد, اضغط الخلية في الصف, لتغيير موضع الصف في التخطيط3.

.ثم تحريك أعلى أو تحريك أسفل في مجموعة تحريك, مجموعة صفوف و أعمدة

حديد اختر عنصر التحكم أو اضغط ت, لتحديد الهوامش لعنصر التحكم أو للتخطيط4.

اضغط التحكم , في مجموعة الموضع. التخطيط من مجموعة صفوف و أعمدة

.ثم حدد الخيار الذي تريد تطبيقه, بالهوامش

غط حدد عنصر التحكم أو اض, إلدراج المسافة البادئة لعنصر التحكم أو للتخطيط5.

م اضغط التحك, من مجموعة الموضع. تحديد التخطيط من مجموعة الصفوف و األعمدة.ثم حدد الخيار الذي تريد تطبيقه, في المسافة البادئة

Page 26: Lesson17 Create Reports

Abdullatif [email protected]

Page 27: Lesson17 Create Reports

Abdullatif [email protected] Using report design tools

استخدام أدوات تصميم التقرير• The Report Design command opens a blank report page in Design view.

The page shows three of the sections you can use in a report—Page Header, Detail, and Page Footer. Use the Add Existing Fields command in the Tools group on the Report Design Tools Design tool tab to display the field list. You can then expand the list of fields for the table you want to use as the report’s record source and add fields to the report.

• Use the grid marks and the ruler to align and position fields. Access highlights the ruler when you drag a control to indicate its relative position. By right-clicking a control, you can work with options for the Align, Size, and Position commands to adjust the placement and dimensions of controls. For example, to make a group of labels the same size, select the labels, right-click, point to Size, and then click To Tallest, To Widest, or one of the other sizing commands.

• You often locate most of the report’s controls in its Detail section, including labels and text boxes related to the report’s data. The Page Header section displays information at the top of each page of a report. Use this section to show a date for a report or a heading such as Internal Use Only that you want to appear on each page. Information in the Page Footer section—page numbers, for example—appears at the bottom of each page. Information in the Report Header and Report Footer sections appears only once—at the top of the report’s first page and at the bottom of the report’s last page, respectively. You can use the Report Header section to display the report’s title or to include a logo

. ميميفتح األمر تصميم التقرير صفحة فارغة تقرير في طريقة عرض التص•فحة، صفحة ثالثة من المقاطع التي يمكن استخدامها في تقرير رأس الصتعرض

وعة استخدام إضافة أمر الحقول الموجودة في المجم. تفاصيل، وتذييل الصفحةمة التصميم لعرض قائأدوات التقرير تصميم أدوات على عالمة التبويب أداة

كمصدر يمكنك بعد ذلك توسيع قائمة الحقول للجدول الذي تريد استخدامه. الحقول.سجل التقرير وإضافة حقول إلى التقرير

يميز األكسيس. الشبكة والمسطرة لمحاذاة و توضع الحقولاستخدام عالمات •قر بزر عن طريق الن. سحب عنصر تحكم لإلشارة إلى موقعها النسبيالمسطرة عند

، الحجم، المحاذاة، يمكنك العمل مع خيارات عنصر التحكمالماوس األيمن على عة من على سبيل المثال، لجعل مجمو. عناصر التحكموأبعاد واألوامر لضبط أماكن

لحجم، التسميات نفس الحجم، حدد التسميات، انقر بزر الماوس األيمن، وأشر إلى ا.، أو واحد من األوامر التحجيم األخرىاألكبر، األطولثم انقر فوق

ر في مقطع في التقريعناصر التحكم التي توضع معظم تحدد كثير من األحيان في •وجودة في بالبيانات الم، بما في ذلك العالمات ومربعات النص المرتبطة التفصيل. قريريعرض مقطع رأس الصفحة المعلومات في أعلى كل صفحة من الت. التقرير

فقط التي مثل استخدام الداخليالترويسة أو تاريخ التقرير استخدام هذا القسم إلظهار ، على حةالصفتذييل الصفحة أرقام في المعلومات . تريده أن يظهر في كل صفحة

قرير تظهر معلومات في األقسام رأس ت. سبيل المثال، تظهر في أسفل كل صفحةلتقرير وتذييل التقرير فقط مرة واحدة في الجزء العلوي من الصفحة األولى في ا

. وعلى الجزء السفلي من الصفحة األخيرة من التقرير، على التوالي.عارالشعنوان التقرير أو لتشمل لعرض استخدام القسم رأس التقرير يمكنك

Page 28: Lesson17 Create Reports

Abdullatif [email protected]

• To display the Report Header and Report Footer sections, right-click in the Detail section and then click Report Header/Footer. You can also use the commands in the Header/ Footer group on the Design tool tab to add information to these sections by inserting an element such as a title, a logo, a date, and page numbers. Right-clicking the Detail section and choosing Report/Header Footer a second time hides these sections of a report.

• When you work in Design view (or in Layout view), you can add controls to a report to supplement the controls Access creates when you insert fields. For example, you might include additional labels, an image, or a subreportcontrol that displays data from a related table or query.

• To add a control, click Controls on the Design tool tab, select the type of control you want to add, and then click on the page where you want to place the control.

• When you have a report open in Design view, the Report Design Tools Arrange tool tab includes the Sizing & Ordering group. This group provides commands you can apply to controls to modify their size, the spacing between them, and their alignment. For example, if you want two or more text boxes to have the same size, select the text box controls, click Size/Space, and then choose one of the options in the Size group. You can also use the Size/Space menu to control the spacing between controls and to group controls so that you can reposition the controls as a unit. Use the Align command in the Sizing & Ordering group to align a group of controls. The Bring To Front and Send To Back commands change the relationship of objects that overlap on a report.

التفصيل ع لعرض مقاطع رأس تقرير وتذييل التقرير، انقر بزر الماوس األيمن في مقط•جموعة يمكنك أيضا استخدام األوامر في الم. تذييل التقرير/ ومن ثم انقر فوق رأس

ن تذييل في عالمة التبويب تصميم أداة إلضافة معلومات إلى هذه األقسام ع/ رأس . طريق إدراج عنصر مثل العنوان، والشعار، وتاريخ، وأرقام الصفحات

انية يخفي هذه رأس تذييل للمرة الث/ بالزر األيمن مقطع التفاصيل واختيار تقرير النقر .المقاطع من التقرير

ناصر ، يمكنك إضافة ع(أو في عرض تخطيط)عند العمل في طريقة عرض التصميم •. حقولإدراجعناصر التحكم التي ينشئها األكسيس عند تحكم إلى تقرير الستكمال

رعي تقرير فسبيل المثال، قد تشمل عالمات إضافية، صورة، أو عنصر تحكم على .الذي يعرض البيانات من جدول أو استعالم ذات الصلة

يم، إلضافة عنصر تحكم، انقر فوق عناصر التحكم في عالمة التبويب أداة تصم•د وضع نوع عنصر التحكم الذي تريد إضافته، ثم انقر على الصفحة حيث تريحدد

.عنصر التحكم

لتقرير عندما يكون لديك تقرير مفتوح في طريقة عرض التصميم، وأدوات تصميم ا•وامر وتقدم هذه المجموعة األ. بترتيب يشمل التبويب أداة مجموعة تحجيم والترتيب

. اتساقهابينهما، ووالتباعد لتعديل حجمها، عناصر التحكم يمكن أن تنطبق على التي س الحجم، سبيل المثال، إذا كنت تريد اثنين أو أكثر من مربعات النص لديك بنفعلى

من ومن ثم اختيار واحدالمسافة، / حدد عناصر تحكم مربع النص، انقر فوق الحجم يطرة للسالمسافة / يمكنك أيضا استخدام القائمة الحجم . الخيارات في مجموعة الحجم

توضع ادة يمكنك إععناصر التحكم و لتجميع عناصر التحكم بحيث على التباعد بين ب استخدام األمر محاذاة في المجموعة تحجيم والترتي. كوحدة واحدةعناصر التحكم

إلحضار إلى األمام وإلى الخلف إرسال األوامر . عناصر التحكممجموعة من لمحاذاة .تتغير العالقة بين الكائنات التي تتداخل على التقرير

Page 29: Lesson17 Create Reports

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

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

1. On the Create tab, in the Reports group, click Report Design.

2. To display the field list, click Add Existing Fields in the Tools group on the Report Design Tools Design tool tab.

3. In the field list, click Show All Tables (if no tables are shown), and then click the plus sign (+) beside the table you want to use as the form’s record source.

4. From the field list, drag the fields you want to include on the report and place them in the report window. You can align and reposition fields after you place them.

5. To add a logo, title, or date and time to the report, use the commands in the Header/Footer group.

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

اضغط على إضافة الحقول الموجودة في, إلظهار قائمة الحقول2.مجموعة أدوات من تبويب أداة التصميم في صفحة أدوات

.تصميم التقرير

اذا كانت غير )اضغط إظهار كافة الجداول , من قائمة الحقول3.جانب الجدول الذي )+( ثم اضغط على إشارة الجمع , (ظاهرة

.تريد استخدامه كمصدر سجل النموذج

تقرير و اسحب الحقول التي تريد تضمينها في ال, من قائمة الحقول4.قول يمكنك محاذاة و إعادة توضع الح. وضعهم في نافذة التقرير.بعد وضعهم في التقرير

دم استخ, أو تاريخ و وقت في التقرير, عنوان, إلضافة شعار5..و تذييل/األوامر في مجموعة رأس

Page 30: Lesson17 Create Reports

Abdullatif [email protected]

1

2

3

Page 31: Lesson17 Create Reports

Abdullatif [email protected]

4

5

Page 32: Lesson17 Create Reports

Abdullatif [email protected] To arrange controls in Design view

لترتيب عناصر التحكم في طريقة عرض التصميم

1. In the report, select the control or controls you want to work with.

2. On the Report Design Tools Arrange tool tab, in the Sizing & Ordering group, you can do the following to adjust the report’s design:

1.To adjust the size and spacing between selected controls, click Size/Space, and then click the option you want to apply to the controls.

2.To align selected controls, click Align, and then click the option you want to apply to the controls.

3.To change the position of a control or selected controls, click Send to Back or Bring to Front.

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

ميم من تبويب أداة الترتيب في أدوات تص2., من مجموعة الحجم و الترتيب, التقرير

:تقريريمكنك عمل التالي لتعديل تصميم التحكم لتعديل الحجم و المسافة بين عناصر ال1.

ثم اضغط على , مسافة/اضغط حجم, المحددة.الخيار الذي تريد تطبيقه للعناصر

اضغط , لمحاذاة عناصر التحكم المحددة2.ثم اضغط على الخيار الذي تريد , محاذاة

.تطبيقه لعناصر التحكم

, كملتغيير موضع عنصر أو عناصر التح3.اضغط ارسال الى الخلف أو احضار

.لألمام

Page 33: Lesson17 Create Reports

Abdullatif [email protected]

Page 34: Lesson17 Create Reports

Abdullatif [email protected]

Using subreports استخدام التقرير الفرعي

• You can insert a subreport into a main report to provide related information. You can create the subreport by using the Report wizard or you can define the subreport by using the Subreportwizard. In either case, the subreport must contain a field you can use to link it to the main report.

• To add a subreport, follow the steps in the Subreport wizard, which appears when you add a subreport control to the report page. In the wizard, first select the report you want to use as the subreport or choose the option to base the subreport on an existing table or query. If you choose to work with a table or query, select the table or query and then add the fields you want to use. You then need to either select the set of linking fields that Access detects or define your own. After you name the subreport, click Finish in the wizard to add it to the main report.

توفير يمكنك إدراج تقرير فرعي في التقرير الرئيسي ل•ستخدام بافرعي يمكنك إنشاء تقرير . المعلومات ذات الصلة

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

.الرئيسيبالتقرير يمكنك استخدامها لربطه

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

تقرير أو اختيار الخيار لتبني الكتقرير فرعي استخدامه إذا اخترت للعمل. الفرعي على جدول أو استعالم موجود

مع جدول أو استعالم، حدد الجدول أو االستعالم ثم قم لى ثم تحتاج إما إ. بإضافة الحقول التي تريد استخدامها

أو يحددها األكسيستحديد مجموعة من ربط الحقول التي فوق إنهاء التقرير الفرعي، انقرتسمية بعد . بنفسكتحددها

.في المعالج إلضافته إلى التقرير الرئيسي

Page 35: Lesson17 Create Reports

Abdullatif [email protected]

To insert a subreport control إلدراج عنصر تحكم تقرير فرعي

1. Open the main report in Design view or Layout view.

2. On the Report Design Tools Design tool tab, select the Subform/Subreport control in the Controls group, and then click in the main report where you want to place the subreport.

3. Follow the steps in the Subreport wizard to select the report, table, or query on which to base the subreport, select fields for the subreport, and specify the field that links the subreport and the main report.

ميم افتح التقرير الرئيسي في طريقة عرض التص1..أو طريقة عرض التخطيط

. ريرمن تبويب أداة التصميم في أدوات تصميم التق2.تقرير فرعي في /اختر عنصر تحكم نموذج فرعي

ثم اضغط في التقرير , مجموعة عناصر التحكم.الرئيسي حيث تريد وضع التقرير الفرعي

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

لحقل و حدد ا, اختر الحقول للتقرير الفرعي, الفرعي.يسيالذي سيربط التقرير الفرعي بالتقرير الرئ

Page 36: Lesson17 Create Reports

Abdullatif [email protected]

Page 37: Lesson17 Create Reports

Abdullatif [email protected]

Page 38: Lesson17 Create Reports

Abdullatif [email protected]

Deleting reports حذف التقارير

When you no longer need a report in a database, right-click the report in the Navigation pane, and then click Delete. Before you delete a

report, consider using the External Data tab to export a report to create a snapshot of data at a particular time and to build your data archives.

ير في جزء في قاعدة بيانات انقر بزر الماوس األيمن فوق التقرال تحتاج الى التقرير عندما لتصدير رجية عالمة التبويب بيانات خااستخدام قبل حذف تقرير، . التنقل، ثم انقر فوق حذف

.ة بكأرشيف البيانات الخاصولبناء إلنشاء لقطة من البيانات في وقت معين، تقرير