Deck 13: Creating Macros
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/88
العب
ملء الشاشة (f)
Deck 13: Creating Macros
1
By default, an Access database is trusted.
False
2
An action block can be expanded or collapsed to view or hide details in Macro Design View.
True
3
Which of the following is NOT a benefit of using macros?
A) Decreases the number of objects required in the database
B) Increases efficiency by automating routine tasks
C) Increases accuracy by flagging data entry errors
D) Improves flexibility by connecting forms and reports together through command buttons
A) Decreases the number of objects required in the database
B) Increases efficiency by automating routine tasks
C) Increases accuracy by flagging data entry errors
D) Improves flexibility by connecting forms and reports together through command buttons
A
4
Data macros appear in the Macros group in the Navigation Pane.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
5
All Access events are triggered by the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
6
An entry in a field can be used to initiate the execution of a macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
7
It's common to put command buttons in the Form Footer so that users have a consistent location to find them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
8
Macro actions are evaluated based on their order in the Macro Design View window, starting at the bottom.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of the following tasks is a good candidate for a macro?
A) Printing several reports
B) Modifying the design of a form
C) Building ad hoc reports
D) Creating graphs
A) Printing several reports
B) Modifying the design of a form
C) Building ad hoc reports
D) Creating graphs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
10
You can assign a command button to a macro using the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
11
You can print Macro Design View.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
12
You cannot override existing Access key combinations such as [Ctrl][C] for copy with an Access AutoKey assignment.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
13
In Access macros, conditional expressions are used in If statements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
14
Fixing a broken macro generally involves breaking it down into smaller pieces that can be individually tested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
15
After choosing the macro action you want, you then decide which arguments you want to apply to the action and whether each argument should be required or optional.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
16
Arguments change depending upon the action chosen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
17
If statements in Access 2013 may contain Else If and Else clauses.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
18
You can assign a macro to a command button using the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
19
Some arguments of a macro action are optional.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
20
A conditional expression determines whether a macro action will execute or not.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
21
____ is a major benefit of using macros.
A) Saving paper
B) Improving accuracy
C) Eliminating forms and reports
D) Redesigning the database
A) Saving paper
B) Improving accuracy
C) Eliminating forms and reports
D) Redesigning the database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
22
Each macro task has a specified set of ____ that provide additional information on how to carry out the task.
A) Actions
B) Arguments
C) Events
D) None of the above
A) Actions
B) Arguments
C) Events
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
23

A) 1
B) 2
C) 3
D) 4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
24
In a macro, to refer to a value of a control on a form in a conditional expression, use the following syntax: ____.
A) {Forms}!{formname}!{controlname}
B) [Forms]![formname]![controlname]
C) Forms.(formname).(controlname)
D) Forms.formname(controlname)
A) {Forms}!{formname}!{controlname}
B) [Forms]![formname]![controlname]
C) Forms.(formname).(controlname)
D) Forms.formname(controlname)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
25
A(n) ____ is a collection of actions within a macro object that allows you to name and create multiple, separate macros within a single macro object.
A) Action
B) Event
C) Argument
D) Submacro
A) Action
B) Event
C) Argument
D) Submacro
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
26

A) 3
B) 4
C) 5
D) 6
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) ____ is something that happens to a form, window, toolbar, or control that can be used to initiate the execution of a macro.
A) Action
B) Event
C) Argument
D) Submacro
A) Action
B) Event
C) Argument
D) Submacro
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
28

A) Report Name
B) Default Ribbon
C) View
D) Window Mode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
29

A) Report Name
B) View
C) Filter Name
D) Window Mode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
30

A) Access syntax
B) Dot notation
C) Bang notation
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
31
OpenReport is an Access macro ____.
A) Action
B) Event
C) Condition
D) Group
A) Action
B) Event
C) Condition
D) Group
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n) ____ expression results in a true or false answer.
A) Action
B) Conditional
C) Group
D) Mathematical
A) Action
B) Conditional
C) Group
D) Mathematical
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
33

A) Form
B) Report
C) Macro
D) Module
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which of the following would not constitute an event?
A) Adding an action to a macro
B) Clicking a command button
C) Opening a form
D) Closing a form
A) Adding an action to a macro
B) Clicking a command button
C) Opening a form
D) Closing a form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
35
ApplyFilter, RunCommand, Close, and OpenReport are examples of macro ____.
A) Actions
B) Arguments
C) Groups
D) Conditions
A) Actions
B) Arguments
C) Groups
D) Conditions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
36
On Click is an example of a(n) ____.
A) Event property
B) Bound control
C) Command Button Wizard option
D) Macro action
A) Event property
B) Bound control
C) Command Button Wizard option
D) Macro action
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
37

A) OpenReport
B) Macro1
C) Window Mode
D) MessageBox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
38
Arguments provide ____.
A) Conditional expressions that evaluate to true or false
B) Additional information on how to carry out an action
C) A way to store many macros together in a group
D) A list of events that are associated with each control on a form
A) Conditional expressions that evaluate to true or false
B) Additional information on how to carry out an action
C) A way to store many macros together in a group
D) A list of events that are associated with each control on a form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following is NOT a common macro action?
A) DeleteRecord
B) SaveRecord
C) OpenForm
D) CloseDesignView
A) DeleteRecord
B) SaveRecord
C) OpenForm
D) CloseDesignView
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
40
The best way to make a macro obviously available for many different forms would be to ____.
A) Click the Run button from the DATABASE TOOLS tab
B) Run the macro from Macro Design View
C) Assign the macro to a command button on the first form the user opens
D) Assign the macro to the Ribbon
A) Click the Run button from the DATABASE TOOLS tab
B) Run the macro from Macro Design View
C) Assign the macro to a command button on the first form the user opens
D) Assign the macro to the Ribbon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
41

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
42
[Forms]![CustomerEntry]![CustPhone] is an example of _____ notation.
A) exclamation
B) conditional
C) macro
D) bang
A) exclamation
B) conditional
C) macro
D) bang
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
43
Which argument of the OpenReport macro action determines the report that is opened?
A) Report Name
B) Title
C) View
D) On Click
A) Report Name
B) Title
C) View
D) On Click
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
44
A macro may contain one or more _____, the tasks that you want Access to perform.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
45
The _____ button executes the selected Access macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
46
The _____ Catalog lists all available macro actions organized by category.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
47
A common three-character prefix for command buttons is _____.
A) com
B) mmm
C) cmd
D) btt
A) com
B) mmm
C) cmd
D) btt
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which argument of the MessageBox macro action determines the text in the Title Bar of the dialog box that is created?
A) Message
B) View
C) Type
D) Title
A) Message
B) View
C) Type
D) Title
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
49
The event property that is most commonly used with a command button is the _____ property.
A) Push
B) Hover
C) Select
D) On Click
A) Push
B) Hover
C) Select
D) On Click
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
50
Which of the following is NOT an argument for the SetProperty action?
A) View
B) Control Name
C) Property
D) Value
A) View
B) Control Name
C) Property
D) Value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which argument of the MessageBox macro action determines the icon in the dialog box that is created?
A) Message
B) View
C) Type
D) Title
A) Message
B) View
C) Type
D) Title
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
52
Which argument of the MessageBox macro action determines the text in the dialog box that is created?
A) Message
B) View
C) Type
D) Title
A) Message
B) View
C) Type
D) Title
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
53

A) Step
B) Halt
C) Next
D) Run
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
54
The action _____ organizes all of the arguments for a current action and is visually highlighted with a rectangle and gray background in Macro Design View.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
55
____ is a useful Access macro action because it opens a report.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
56
Which of the following is NOT a valid table event for a data macro?
A) After Got Focus
B) After Insert
C) After Update
D) Before Delete
A) After Got Focus
B) After Insert
C) After Update
D) Before Delete
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
57

A) PreviewReports
B) Macro Group
C) True
D) OpenReport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
58

A) PreviewAllEquipmentReport
B) PreviewReportsMacroGroup
C) MsgBox
D) OpenReport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
59
The click of a command button or making an entry in a field would be considered a(n) ____.
A) Macro
B) Action
C) Condition
D) Event
A) Macro
B) Action
C) Condition
D) Event
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
60
A(n) _____ is a database object that stores and executes a series of Access actions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
61
You can slow step a macro, which means to run it one action at a time to observe the effect of each specific action.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
62
A(n) _____ macro allows you to embed macro capabilities directly in a table to add, change, or delete data based on conditions you specify.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
63
List four of the major benefits of using macros.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
64
Explain the difference between a data macro and a traditional macro object in terms of how the macro is created, stored, and triggered.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
65
You can assign a key combination to a macro by creating a macro with the name _____.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
66

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
67
You most often run a data macro based on a table event .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
68
When creating a command button, make sure the Control Wizards button is selected in order to invoke the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
69

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
70

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
71

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
72
A table macro allows you to embed macro capabilities directly in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
73
A secure database allows you to run macros and VBA.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
74
Conditional expressions result in a numeric value. _____
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
75
A(n) _____ is a specific activity that occurs within the database, such as clicking a command button, moving from record to record, editing data, or opening and closing a form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
76
The On _____ event occurs when focus moves from one record to another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
77
Name three ways that you can run a macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
78
To permanently trust a database, store the database in a trusted _____.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
79
A(n) _____ database allows you to run macros and VBA.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
80
Defragging means determining why a macro doesn't run correctly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck