Deck 14: Creating Macros
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/92
العب
ملء الشاشة (f)
Deck 14: Creating Macros
1
A conditional expression determines whether a macro action will execute or not.
True
2
You can print Macro Design View.
True
3
If statements in Access 2013 may contain Else If and Else clauses.
True
4
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
5
An entry in a field can be used to initiate the execution of a macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
6
Fixing a broken macro generally involves breaking it down into smaller pieces that can be individually tested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
7
Data macros appear in the Macros group in the Navigation Pane.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
8
Some arguments of a macro action are optional.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
9
An action block can be expanded or collapsed to view or hide details in Macro Design View.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
10
It's common to put command buttons in the Form Footer so that users have a consistent location to find them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
11
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
12
You cannot override existing Access key combinations such as [Ctrl][C] for copy with an Access AutoKey assignment.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
13
By default, an Access database is trusted.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
14
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
15
You can assign a command button to a macro using the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
16
You can assign a macro to a command button using the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
17
In Access macros, conditional expressions are used in If statements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
18
Macro actions are evaluated based on their order in the Macro Design View window, starting at the bottom.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
19
All Access events are triggered by the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
20
Arguments change depending upon the action chosen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
21

In the figure above, which argument does NOT require a value?
A) Report Name
B) View
C) Filter Name
D) Window Mode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
22

In the figure above, the expression for the If statement is written in ____.
A) Access syntax
B) Dot notation
C) Bang notation
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
23

In the figure above, how many macro actions are shown?
A) 1
B) 2
C) 3
D) 4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
24
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
25
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
26

In the figure above, what is the name of the first action?
A) OpenReport
B) Macro1
C) Window Mode
D) MessageBox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
27
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
28
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
29
OpenReport is an Access macro ____.
A) Action
B) Event
C) Condition
D) Group
A) Action
B) Event
C) Condition
D) Group
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
30
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
31

In the figure above, what type of object is referenced in the conditional expression?
A) Form
B) Report
C) Macro
D) Module
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
32
____ 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
33
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
34
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)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following is NOT an argument for OpenReport?
A) Report Name
B) Default Ribbon
C) View
D) Window Mode
A) Report Name
B) Default Ribbon
C) View
D) Window Mode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
36
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
37
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
39

In the figure above, how many arguments are shown for the current action?
A) 3
B) 4
C) 5
D) 6
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
40
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
41
A(n) _____ is a database object that stores and executes a series of Access actions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
42
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
43
A macro may contain one or more _____, the tasks that you want Access to perform.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
44

In the figure above, what is the name of the macro that is being single stepped?
A) PreviewAllEquipmentReport
B) PreviewReportsMacroGroup
C) MsgBox
D) OpenReport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
45
The _____ Catalog lists all available macro actions organized by category.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
46

In the figure above, what is the macro action that is currently being evaluated?
A) PreviewReports
B) Macro Group
C) True
D) OpenReport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
48
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
49
[Forms]![CustomerEntry]![CustPhone] is an example of _____ notation.
A) exclamation
B) conditional
C) macro
D) bang
A) exclamation
B) conditional
C) macro
D) bang
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
50
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
51
____ is a useful Access macro action because it opens a report.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
52

As shown in the figure, _____ is a useful Access macro action because it displays an informational message to the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
53
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
54
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
55
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
56
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
57
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
58
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
59
The _____ button executes the selected Access macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
60

In the Macro Single Step dialog box in the figure, which button would you click to run the next macro action?
A) Step
B) Halt
C) Next
D) Run
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
61
List four of the major benefits of using macros.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
62
A(n) _____ database allows you to run macros and VBA.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
63
A secure database allows you to run macros and VBA.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
64
To permanently trust a database, store the database in a trusted _____.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
65
A(n) _____ macro allows you to embed macro capabilities directly in a table to add, change, or delete data based on conditions you specify.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
66
You can assign a key combination to a macro by creating a macro with the name _____.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
67
Conditional expressions result in a numeric value. _____
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
68

As shown in the figure, a(n) _____ statement contains conditional expressions that are evaluated either true or false that determine whether the macro action is executed or skipped.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
69

As shown in the figure, you create a macro in Access by using the Macro Recorder View. _____
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
70
When creating a command button, make sure the Control Wizards button is selected in order to invoke the Command Button Wizard.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
71
Explain the difference between a data macro and a traditional macro object in terms of how the macro is created, stored, and triggered.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
72
A table macro allows you to embed macro capabilities directly in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
73

As shown in the figure, a(n) _____ expression results in either a true or false answer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
74
You can slow step a macro, which means to run it one action at a time to observe the effect of each specific action.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
75
Name three ways that you can run a macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
76
Defragging means determining why a macro doesn't run correctly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
77
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
78
You most often run a data macro based on a table event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
79

As shown in the figure, Message, Beep, Type, and Title are arguments for the MessageBox macro action.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck
80
The On _____ event occurs when focus moves from one record to another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 92 في هذه المجموعة.
فتح الحزمة
k this deck