Vous êtes sur la page 1sur 107

‫قواعد البيانات‬ Access

• Prepared and Designed


• by:
• Mariam Fahed Balhass/Trainer
• ‫المدربة‬
Starting Access ‫للبدء ببرنامج‬
To start Access
– Taskbar(blue)
– Click the Start
All Programs
click Microsoft Office
click Microsoft Access.
‫‪:‬ملحظة‬

‫عندما تقوم بتخطيط قاعدة بيانات‪ ،‬قد تجد من المفيد رسم أفكارك على‬
‫‪.‬ورقة خارجية‬
‫ارسم مربعات تمثل الجداول والستعلمات والنماذج والتقارير في قاعدة‬
‫البيانات‪،‬‬
‫وقم برسم خطوط بين المربعات لتحديد الجداول التي سوف تعتمد عليها‬
‫‪ .‬العناصر الخرى‬
‫كما يجب تضمين قائمة بالحقول في كل جدول كي تتأكد من أنك لم تقم‬
‫‪.‬بتخزين نفس المعلومات في أكثر من مكان‬
‫‪File new‬‬
‫اختار من جهة ‪Blank Database‬‬
‫اليمين‬

‫اختار‬
‫تفتح هذه‬
‫الصفحة‬
‫تلقائياً‬
‫لختيار‬
‫مكان‬
‫لحفظ‬
‫الملف‬

‫اختار مكان الحفظ مسبقاً‬


‫ثم اكبس ‪create‬‬
‫‪Create Table by using‬‬
‫‪Wizard‬‬
‫المصطلحات الساسية محفظة‬
‫ومحددة وما عليك سوى الختيار‬
Creating a Table :‫ملحظة‬
‫الشرح مع‬

Using the Table Wizard ‫الصور في‬


‫الصفحات‬
‫التالية‬
To create a table using the Table
Wizard
– On the Objects bar, click Tables.
– Double-click Create table by using wizard.
– Click the Business or Personal option.
– Click a sample table, click the fields that you want
to add to the table, and then click the > (Add) button
for each field.
– Click Next.
– Type a name for the Table and click Next.
– Click Finish
1-Double-click Create table
by using wizard.
The first Table Wizard dialog
box appears.

• 1-‫انقر نقًرا‬
‫جا فوق‬ً ‫مزدو‬
‫"إنشاء جدول‬
‫باستخدام‬
‫المعالج‬."
‫يظهر مربع الحوار‬
"‫"معالج الجداول‬

11
‫•‬ ‫‪.‬‬ ‫"تعريف_المورد" إلى‬
‫القائمة "الحقول‬
‫في الجدول‬
‫‪click‬‬ ‫الجديد"‪ ،‬ويقوم‬
‫بتحديد ‪Access‬‬
‫‪Supplier‬‬ ‫الحقل "اسم المورد"‬
‫‪s.‬‬ ‫كما هو وارد‬
‫بالشكل التوضيحي‬
‫في الصفحة‬
‫القادمة‬
‫وفي القائمة ‪2 -‬‬
‫"نماذج الجداول"‪ ،‬قم‬
‫بالتمرير للسفل ثم‬
‫"‪.‬انقر فوق "الموردون‬
‫تظهر الحقول الممكنة‬
‫الموردون" في القائمة‬
‫‪" ".‬نماذج الحقول‬

‫‪The Supplier ID‬‬


‫)‪Click the > (Add‬‬

‫‪12‬‬
‫‪1‬‬ ‫كلما اخترت من‬ ‫استمر بالضغط على >‬
‫‪2‬‬

‫•‬
‫‪:‬لإضافة الكل‬
‫•‬
‫انقر فوق الزر‬
‫>>‬
‫•‬
‫حتى تقوم‬
‫بإضافة كافة‬

‫‪3‬‬
‫‪13‬‬
‫اسم الجدول‬
‫بإمكانك تغير التسمية‬

‫اكبس‬
‫‪14‬‬
click

15
‫ل تستطيع‬
‫التغير يكتب‬
‫تلقائياً‬

‫ابدأ بمل البيانات‬

‫‪16‬‬
Create table by using design
view
‫عليك إدخال التفاصيل وتحديد نوعها‬
The following table lists the
available data types for
each field, the type of data
that can be entered into
each field, and the number
of allowable characters. Text
is the default data type for
new fields.

‫يحتوي الجدول التالي على أنواع البيانات المتاحة‬


‫ ونوع البيانات التي يمكن إدخالها في‬،‫لكل حقل‬
‫ النوع‬.‫ وعدد الحرف المسموح بها‬،‫كل حقل‬
‫هو نوع البيانات الفتراضي للحقول‬ "‫"نص‬
‫الجديدة‬.
Creating a Table in
Design View
To create a table in Design view
– On the Objects bar, click Tables.
– Double-click Create table in Design view.
– In the Field Name column, click in the
first empty cell, type the new field name,
and
then press Tab.
– In the Data Type column, click the down
arrow and click the data type for the
field.
‫يحتوي عمود "اسم الحقل" على أسماء الحقول الواردة‬
‫‪ .‬في الجدول‬
‫يتيح لك عمود "نوع البيانات" تحديد نوع البيانات (على‬
‫سبيل المثال‪ ،‬أبجدي أو رقمي) الذي يمكن إدخاله في‬
‫حقل‪ .‬يتيح لك الجزء السفل من إطار عرض "تصميم‬
‫‪.‬الجدول" تعيين خصائص محددة لكل حقل‬
‫سمي‬
‫الجدول‬

‫الن ابدأ‬
‫بمل‬
‫البيانات‬
Adding Hyperlinks to a Table
‫ضافة ارتباطات تشعبيه إلى جدول‬
To add a hyperlink to a table
– With the table open in Design view,
click in the Data Type cell for the field
where you want the hyperlink,
click the down arrow that appears, and
then click Hyperlink.
(continued)
2. On the Table Design toolbar, click the
View button. When you are prompted to
save changes, click Yes.
4.Click in the first record for the field set to
Hyperlink.
5.Type the Web or intranet address.
Adding Fields to Tables
‫زيادة حقول أي عامود جديد‬
To add a field to a table
– Display the table in Design view.
– In the Field Name column, click in the
first empty cell, type the new field name,
and then press Tab.
– In the Data Type column, click the down
arrow and then click the data type for the
field.
If you want to add a field between fields
that already exist, click in the row for the
‫إذا أردت إضافة حقل بين‬
field that you want the new field to
،‫الحقول الموجودة بالفعل‬
precede, and click the Insert Rows button ‫انقر داخل الصف الخاص‬
on the Table Design toolbar. ‫بالحقل الذي تريد أن يسبقه‬
‫ وانقر فوق الزر‬،‫الحقل الجديد‬
Adding Records
‫إدخال البيانات‬
To add a record to a table
– Display the table in Datasheet view.
– Click in the first empty record.
– Enter data using the Tab key to move
from field to field.
‫كل مرة تبدأ فيها العمل‬
‫على سجل جديد‪ ،‬يتم‬
‫حفظ بيانات السجل‬
‫لحظ أن نوع البيانات "ترقيم‬
‫تلقائي" في الحقل‬
‫"تعريف_الجناح" سوف يحدد‬
‫للسجل الول تعريف الجناح‬
‫يقوم تلقائيًا ‪Access‬لحظ أن‬
‫بتنسيق البيانات الموجودة في‬
‫الحقل "سعر_الجناح" بتنسيق‬
‫‪Each time you start a new record,‬‬
‫‪the data in the previous record is‬‬
‫‪saved.‬‬

‫‪Notice that the AutoNumber data‬‬


‫‪type in the Suite ID field‬‬
‫‪automatically gives the first record‬‬
‫‪the Suite ID of 1.‬‬
‫إذا كان مربع محدد‬
‫ يعني‬،‫السجل فارغا‬
‫هذا أنه ل يجري تعديله‬
‫من جانب أحد‬
‫المستخدمين في‬

If the record selector box


is empty, it means that
no users are currently
modifying the record.
Individual records,
instead of entire pages,
are locked when another
user edits them
Editing Records
To edit records in a table
– Click in the field that you want to edit.
– Using the mouse pointer or keyboard
keys, delete the old data.
– Type the new data.
Moving Fields
To move a field
– Display the table in Design view.
– Click in the row for the field that you
want to move and then click the row
selector to the left
of the row.
– Drag the row to its new location.
Deleting Fields
To delete a field
– Display the table in Design view.
– Click in the row that you want to delete.
– On the Table Design toolbar, click the
Delete Rows button and then click Yes in
the alert box that appears.
To delete a row, you can also
‫ يمكنك‬،‫لحذف صف‬
click Delete Rows on the Edit ” ‫أيضا النقر فوق‬delete
menu or right-click the field rows" ‫"من القائمة‬edit" ‫أو‬
name and click Delete Rows on
the shortcut menu that
‫النقر بزر الماوس‬
appears. ‫اليمن فوق اسم الحقل‬
“ ‫والنقر فوق‬delete
rows" ‫من القائمة‬
Deleting Records
To delete a record
– Display the table in Datasheet view.
– Click in the record that you want to
delete.
– On the Table Datasheet toolbar, click the
Delete Record button and then click Yes
in the alert box that
‫أجريتها‬ appears.
‫التغييرات التي‬ ‫إذا أردت إلغاء‬
،‫على أحد الحقول في سجل ما‬
‫)اضغط مفتاح الخروج‬Esc(. ‫ولحذف‬
‫التغييرات التي أجريت على السجل‬
‫ اضغط مفتاح الخروج‬،‫)ككل‬Esc(
‫مرتين‬.
‫ليس عليك أن‬
‫تحدد السجل‬
‫بالكامل عند‬
‫‪To delete a record, you can also‬‬
‫‪click Delete Record on the Edit‬‬
‫‪menu or right-click the record and‬‬
‫‪click Delete Record on the shortcut‬‬
‫‪menu that appears.‬‬

‫ضا النقر فوق‬‫لحذف سجل‪ ،‬يمكنك أي ً‬


‫"حذف سجل" من القائمة "تحرير" أو‬
‫النقر بزر الماوس اليمن فوق السجل‬
‫والنقر فوق "حذف سجل" من القائمة‬
‫‪.‬المختصرة التي تظهر أمامك‬
Formatting a Table
To change the format of a table
– Display the table in Datasheet view.
– On the View menu, point to Toolbars and
click Formatting (Datasheet) if necessary.
– On the Formatting toolbar, use the
buttons for Font, Font Size, Bold, Italic,
Underline, and Font/Fore Color to modify
the font.
– To resize the columns, double-click the
line between the field names of the
columns that you want to change.
Sorting Records in a Table
‫ترتيب‬
To sort records in a table
– Display the table in Datasheet view.
– Click in the field by which you want to
sort the records.
– Click the Sort Ascending or Sort
Descending button. AZ or ZA
Finding Records in a Table
To find records in a table
– Display the table in Datasheet view.
– In the field that you want to search, click
any cell.
– On the Table Datasheet toolbar, click the
Find button.
– In the Find And Replace dialog box, type
the text that you want to find and
،"‫واستبدال‬ ‫بحث‬click
" ‫لفتح مربع الحوار‬
‫ضا النقر فوق "بحث" من‬ ً ‫يمكنك أي‬
Find Next. “ ‫القائمة‬edit" ‫أو ضغط مفتاحي‬
‫ التحكم والحرف‬f (Ctrl+F) .

‫يمكنك تغيير عملية البحث التي تقوم‬


‫ بدل ً من‬،‫بها لتشمل الجدول بالكامل‬
Applying a Filter to a Table
To apply a filter to a table
– Display the table in Datasheet view.
– Click in any cell in the table that contains the value
that you want to use to filter and then click the Filter
By Selection button.
The values in the drop-
down menus are values
that exist in at least one
record in the table.

Or (continued)
Applying a Filter to a Table
To apply a filter to a table (continued)
– Display the table in Datasheet view.
– On the Table Datasheet toolbar, click the Filter By
Form button.
5.Click in the first record of the field to which you
want to apply a filter, click the down arrow that
appears, and then click the item that you want to use
to filter.
6.On the Filter/Sort toolbar, click the Apply Filter
button.
Removing a Filter
To remove a filter
• On the Table Datasheet toolbar, click the
Remove Filter button.
Establishing a Relationship
‫تأسيس علقات بين الجداول‬
To establish a relationship
– On the Database toolbar, click the
Relationships button.
– On the Relationship toolbar, click the
Show Table button if necessary.
– Add the tables that you want to use in
the relationship to the Relationships
window and click Close.
(continued)
Establishing a Relationship
To establish a relationship (continued)
4.Drag the field that you want to use to
create the relationship from one field list
to its location in the other field list.
5.In the Edit Relationships dialog box, click
Create.
‫معظم علقات‬
6.Save
Mostthe Relationships
database relationships are window.‫قواعد البيانات هي‬
one-to-many relationships. ‫علقات من النوع‬
‫رأس بأطراف‬.
The 1 next to tblVendors indicates
1 ‫يشير الرقم‬ that it is on the one side of the
‫الموجودة بجوار‬ one-to-many relationship, while the
infinity sign  next to tblProducts
"tbl‫الموردون" إلى أنه‬ indicates that it is on the many
‫في جانب الرأس من‬ side.

،‫علقة رأس بأطراف‬


Enforcing
Referential Integrity
To enforce referential integrity
– On the Database toolbar, click the
Relationships button.
– Double-click the relationship to which you
want to apply referential integrity.
– In the Edit Relationships dialog box,
select the Enforce Referential Integrity
check box and click OK.
– Save the Relationships window.
Creating Subdatasheets
To create a subdatasheet
– Verify that the two tables you want to use
have a relationship.
– Display the table on the one side of the
relationship in Datasheet view.
– On the Insert menu, click Subdatasheet.
– Verify that the table on the many side of
the relationship is selected and click OK.
– Click the plus sign (+) to the left of the
record for which you want to see the
subdatasheet.
Importing Records from an External Source
‫إدخال تسجيلت من مصدر خارجي‬

To import records from an external


source
– On the File menu point to Get External
Data and click Import.
– Click the Files of type down arrow and
then click the type of file that you want to
import.
– In the Look in box, navigate to the
location of the file that you want to
import.
(continued)
Importing Records
from an External Source
To import records from an external
source (continued)
4.Click the name of the file that you want
to import and then click Import.
5.Follow the instructions in the Import
Wizard. The steps will vary depending on
the type of file that you are importing.
Copying Records into a Table
To copy records into a table
– Select the records that you want to copy.
– On the Table Datasheet toolbar, click the
Copy button.
– Open the table to which you want to add
the records and select the first record
where the new records should go.
– On the Table Datasheet toolbar, click the
Paste button.
– In the alert box that appears, click Yes.
Creating a Query Using
the Simple Query Wizard
To create a query using the Simple
Query Wizard
– On the Objects bar, click Queries.
– Double-click Create query by using
wizard.
– Click the Tables/Queries down arrow and
then click the table or query on which
you want to base the query.
(continued)
1

1
‫اضغط على‬
‫السهم لختيار‬
‫الجدول‬

‫اختار الحقول‬
‫التي تريد‬
To select fields from more ‫وجوب‬ ‫إظهارها من‬
than one table, the fields in ‫كل جدول‬
the different tables must first ‫وجود‬
be in a relationship.
Multiple-table queries are ‫علقة بين‬
discussed later in this lesson. ‫الجداول‬
4.In the Available Fields list, click the field
that you want to add to the query and
then click the > (Add) button. Repeat to
add all of the fields that you want to your
query.
5.Click Next.
6.Type the name of your query and click
Finish.
Running a Query
To run a query
• On the Query Design toolbar, click the Run button.
Specifying
Criteria in a Query
To specify criteria in a query
– Display the query in Design view.
– In the Criteria row, type the criteria in the column
for the field that you want to restrict.
Creating a
Query in Design View
To create a query in Design view
– On the Objects bar, click Queries.
– Double-click Create query in Design view.
– In the Show Table dialog box, click the table(s) on
which you want to base your query and then click
Add.
– Click Close.
– In the field list, double-click the fields that you want
to add to your query.
‫لتحديد حقول من‬
،‫أكثر من جدول‬
‫يجب أول ً أن تكون‬
‫الحقول الموجودة‬
‫في جداول مختلفة‬

To select fields from more than


one table, the fields in the
different tables must first be in
a relationship..
‫إذا قمت بالنقر فوق‬
If you click the Modify the
query design option, the
‫خيار "تعديل تصميم‬
query will appear in Design ‫ سيظهر‬،"‫الستعلم‬
view when you click Finish. ‫الستعلم بطريقة‬
‫"عرض التصميم" عند‬
‫النقر فوق "إنهاء‬."
Creating a Calculated Field
To create a calculated field in a query
– Display the query in Design view.
– In the Field row, click in the first blank cell and type
the field name and expression for the calculation.
Creating a
Multiple-Table Query
To create a multiple-table query
– On the Objects bar, click Queries.
– Double-click Create query in Design view.
– In the Show Table dialog box, click the table on
which you want to base the query and then click
Add. Repeat for any additional tables with related
fields and click Close.
(continued)
Creating a
Multiple-Table Query
To create a multiple-table query (continued)
4.If necessary, drag the field that you want to join
from the first field list to the corresponding field in
the second field list to create a join line.
5.In the field lists, double-click the fields that you
want to add to your query.
Printing a Query
To print a query
– Display the query in Datasheet view.
– On the Query Datasheet toolbar, click the Print
button.
Or
On the File menu, click Print.
Creating a
Form Using AutoForm
To create a form using AutoForm
– On the Objects bar, click Forms
– On the Database window toolbar, click New.
– In the New Form dialog box, click AutoForm:
Columnar, AutoForm: Tabular, AutoForm:
Datasheet, AutoForm: PivotTable, or AutoForm:
PivotChart.
(continued)
Creating a
Form Using AutoForm
To create a form using AutoForm
(continued)
4.In the New Form dialog box, click the Choose the
table or query where the object’s data comes from
down arrow, click the name of the table on which
you want to base the form, and then click OK.
Creating a Form
Using the Form Wizard
To create a form using the Form Wizard
– On the Objects bar, click Forms.
– Double-click Create form by using wizard.
– In the first Form Wizard dialog box, click the
Tables/Queries down arrow and then click the table
on which you want to base the form.
(continued)
Creating a Form
Using the Form Wizard
To create a form using the Form Wizard
(continued)
4.In the Available Fields list, click the field(s) that you
want to add to the table and then click the
> (Add) button.
5.Click Next.
6.In the next Form Wizard dialog box, select the
layout that you want to use for your form and click
Next.
(continued)
Creating a Form
Using the Form Wizard
To create a form using the Form Wizard
(continued)
7.In the next Form Wizard dialog box, select the style
that you want to use for your form and click Next.
8.In the next Form Wizard dialog box, type the name
that you want your form to have and click Finish.
Adding Controls to a Form
To add controls to a form
– Display the form in Design view.
– On the Form Design toolbar, click the Toolbox
button if necessary.
– In the toolbox, click the tool for the type of control
that you want to add.
– Click in the form where you want the control
to go.
Printing a Form
To print a form
– Open the form.
– On the Form View toolbar, click the Print button.
Or
On the Form Design toolbar, click the Print
button.
Or
On the File menu, click Print.
Modifying Control Properties
Using the Property Sheet
To modify control properties using the
property sheet
– Display the form in Design view.
– Double-click the edge of the control that you want
to change.
– In the property sheet for the control, click the tab
that contains the property that you want to change.
– Scroll down if necessary to find the property that
you want to change.
(continued)
Modifying Control Properties
Using the Property Sheet
To modify control properties using the
property sheet (continued)
5.Click in the box for the property that you want to
change.
6.Click the down arrow that appears and then click
the new setting.
Or
Type the new setting.
11.Click the Close button in the top-right corner of the
property sheet.
Modifying Control
Properties Using the Toolbar
To modify control properties using the toolbar
– Display the form in Design view.
– Click the control that you want to change.
– On the Formatting toolbar, click the button for the
property that you want to change.
Resizing Controls on Forms
To resize a control on a form
– Display the form in Design view.
– Click the control that you want to resize.
– Move the mouse pointer over the handles of the
control until the pointer turns into a horizontal,
vertical, or diagonal double-headed arrow.
– Drag the edge(s) of the control in the direction that
you want to resize the control.
Moving Controls on Forms
To move a control on a form
– Display the form in Design view.
– Click the control that you want to move.
3. To move a control with its accompanying text
box or label (if applicable), move the mouse pointer
over the edge of the control until the pointer turns
into a hand.
(continued)
Moving Controls on Forms
To move a control on a form (continued)
Or
To move a control without also moving its
accompanying text box or label, move the mouse
pointer over the top-right handle until the pointer
turns into a pointing hand.
4. Drag the control to the location in the form
where you want the control to go.
Creating a
Form in Design View
To create a form in Design view
– On the Objects bar, click Forms if necessary.
– Double-click Create form in Design view.
– On the View menu, click Properties.
– In the Form property sheet, click the Data tab, click
in the Record Source box, click the down arrow that
appears, and then click the table that you want to
use as the source for the form.
(continued)
Creating a
Form in Design View
To create a form in Design view (continued)
– Click the Close button in the top-right corner of the
Form property sheet.
– Drag the fields that you want to use from the field
list to the form.
– Use the toolbox to create unbound or calculated
controls.
Entering Records into a Form
To enter records into a form
– Display the form in Form view.
– Click the New Record button.
– Type the new information, navigating from control
to control.
Exporting an Access Form
to HTML
To export a form in HTML format
– Click the form to export in the Database Window.
– Click the File menu, then click Export.
– Use the Save in box to navigate to the folder to
contain the exported form.
7.Click the Save as type list arrow and select HTML
Documents (*.html; *.htm).
8.Enter a name for the file and click Export.
Backing Up a Database
To back up a database
– Make sure that the database is closed.
– Navigate to the location where the database is
stored.
– Copy the database.
– Navigate to the location where you want to store the
backup database.
– Paste the database, creating a backup copy of the
original database.
Restoring a Database
To restore a database from the backup
– Navigate to the place where the backup database is
stored.
– Copy the backup database.
– Navigate to the place where you want the restored
database.
– Paste the database, creating a new copy of the
backup database.
After completing this lesson,
you will be able to:
• Create a report using AutoReport.
• Create a report using the Report Wizard.
• Add controls to a report.
• Format a report.
• Create calculated controls.
• Preview and print a report.
Creating a Report
Using AutoReport
To create a report using AutoReport
– On the Objects bar, click Reports.
– On the Database window toolbar, click New.
– In the New Report dialog box, click either
AutoReport: Columnar or AutoReport: Tabular.

(continued)
Creating a Report
Using AutoReport
To create a report using
AutoReport (continued)
4.In the New Report dialog box, click the Choose the
table or query where the object’s data comes from
down arrow, click the name of the table on which
you want to base the report, and then click OK.
Creating a Report
Using the Report Wizard
To create a report using the Report Wizard
– On the Objects bar, click Reports.
– Double-click Create report by using wizard.
– In the first Report Wizard dialog box, click the
Tables/Queries down arrow and then click the table
on which you want to base the report.
– In the Available Fields box, click the field(s) that
you want to add to the report and then click the >
(Add) button.
(continued)
Creating a Report
Using the Report Wizard
To create a report using the Report Wizard
(continued)
5.Click Next.
6.In the next Report Wizard dialog box, select the
field(s), if any, that you want to use as grouping
levels and click Next.
(continued)
Creating a Report
Using the Report Wizard
To create a report using the Report Wizard
(continued)
7.In the next Report Wizard dialog box, select the
field by which you want to sort the data in each
group, click the Sort button to change the sort order
of the data if necessary, and then click Next.
9.In the next Report Wizard dialog box, select the
layout that you want to use for your report and click
Next.
(continued)
Creating a Report
Using the Report Wizard
To create a report using the Report Wizard
(continued)
9.In the next Report Wizard dialog box, select the
style that you want to use for your report and click
Next.
11.In the next Report Wizard dialog box, type the
name that you want your report to have and click
Finish.
Adding a Control to a Report
To add a control to a report
– Display the report in Design view.
– On the Report Design toolbar, click the Toolbox
button if necessary.
– In the toolbox, click the tool for the type of control
that you want to add.
– Click in the report where you want the control
to go.
Creating a Report
in Design View
To create a report in Design view
– On the Objects bar, click Reports.
– On the Database window toolbar, click New.
– In the New Report dialog box, click Design View if
necessary.
– Click the Choose the table or query where the
object’s data comes from down arrow, click the
name of the table on which you want to base the
report, and then click OK.
(continued)
Creating a Report
in Design View
To create a report in Design view (continued)
5.To add bound controls, drag the field names that
you want to add from the field list to the report.
Or
To add unbound controls, click the tool in the
toolbox for the type of control that you want to add
and then click in the report where you want the
control to go.
Formatting a Report Using
the Property Sheet
To format a report using the property sheet
– Display the report in Design view.
– Double-click the part of the report that you want to
change.
– In the property sheet, click the tab that contains the
property that you want to change.
– Scroll down if necessary to find the property that
you want to change.
(continued)
Formatting a Report Using
the Property Sheet
To format a report using the property sheet
(continued)
5.Click in the box for the property that you want to
change.
6.Click the down arrow that appears and then click
the new setting.
Or
Type the new setting.
11.Click the Close button in the top-right corner of the
property sheet.
Formatting a Report
Using the Toolbar
To format a report using the toolbar
– Display the report in Design view.
– Select the part of the report that you want to change.
– On the Formatting toolbar, click the button(s) for
the format(s) that you want to apply to the report.
Creating Calculated Controls
To create a calculated control
– Display the report in Design view.
– On the Report Design toolbar, click the Toolbox
button if necessary.
– In the toolbox, click the Text Box tool.
– Click the area of the report where you want the
calculated control to go.
(continued)
Creating Calculated Controls
To create a calculated control (continued)
5. Click the label for the calculated control, move
the mouse pointer over the label until the pointer
turns into an insertion point, click the mouse, delete
the existing text, and then type the name of the
calculated control.
6. Click the text box for the calculated control,
move the mouse pointer over the text box until the
pointer turns into an insertion point, click the
mouse, and then type the expression for the
calculated control.
Previewing a Report
To preview a report
– Display the report in Design view.
– On the Report Design toolbar, click the Print
Preview button.
Or
On the Report Design toolbar, click the View
button.
Printing a Report
To print a report
– Display the report in the view you want to print.
– On the Report Design toolbar, click the Print button.
Or
On the Print Preview toolbar, click the Print
button.
Or
On the File menu, click Print.
Compacting a Database
To compact a database
– If the database is a multi-user database located on a
server or shared folder, verify that the database is
not open.
– Open the database that you want to compact.
– On the Tools menu, point to Database Utilities and
click Compact And Repair Database.
Compacting a Database
Every Time You Close It
To automatically compact a database every
time you close it (unless another user is using
the database)
– Open the database that you want to compact
automatically.
– On the Tools menu, click Options.
– In the Options dialog box, click the General tab,
select the Compact on Close check box, and then
click OK.
Navigating in Datasheet
View
To navigate in Datasheet view‫للتنقل‬
• Use the mouse to click in the cell that
ْ ‫إستعم‬
you want to select. ‫ل الفأَر للنَْقر في‬
‫ختياَر‬
ْ ‫الخليةِ التي تُريد ُ ال‬.
Or
• Use the navigation buttons in the bottom-
left corner of the table.
ْ ‫ستعم‬.
• ‫ل أزراَر في الزاويةِ السفليةِ اليسرى للجدول‬
Or
• Use the shortcut keys.
• ‫ح المختصرة من لوحة المفاتيح‬ ْ ‫إستعم‬
َ ‫ل مفاتي‬
‫‪Opening an‬‬
‫لفتح ملف‪Existing Database‬‬
‫‪To open an existing database‬‬
‫‪open Access‬‬ ‫‪Access‬هام‪ :‬عند فتح ملف في‬
‫قد ترى مربع حوار "تحذير أمان"‬
‫‪click file‬‬ ‫الذي يقرر أن الملف قد يكون‬
‫‪.‬غير آمن‬
‫‪Open‬‬ ‫هذا التحذير للتأكد ‪Access‬يعرض‬
‫مما إذا كان الملف الذي توشك‬
‫الملف المطلوب‬ ‫على فتحه من مصدر موثوق بهاختار‬
‫‪.‬أم غير معروف‬
‫‪open‬‬ ‫إذا صادفت هذا التحذير عند‬
‫محاولة فتح ملفات التدريب‬
‫العملي لي من الدروس‪ ،‬انقر‬
‫لغلق مربع ‪ "open‬فوق "فتح‬
Opening an
Object in Design View
To open an object in Design view
– On the Objects bar, click the type of
object that you want to open.
– Click the name of the object that you
want to open.
– On the Database window toolbar, click
Design.
Closing an Object‫اغلق‬
To close an object
• Click the Close button in the top-right
corner of the object. X ‫الجزء العلى‬
Or
• File menu click Close.

Vous aimerez peut-être aussi