® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Developing an Excel Application
Chapter 5 Multitable Forms
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 3 Maintaining and Querying a Database
Integrating Access with the Web and with Other Programs.
Automating Tasks With Macros
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Access Tutorial 4 Creating Forms and Reports
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Access Tutorial 4 Creating Forms and Reports
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
®® Microsoft Windows 7 Windows Tutorial 1 Exploring the Basics of Microsoft Windows 7.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Tutorial 6 Using Form Tools and Creating Custom Forms
® Microsoft Access 2010 Tutorial 6 Using Form Tools and Creating Custom Forms.
Chapter 1 Databases and Database Objects: An Introduction
Using Form Tools and Creating Custom Forms Microsoft Access 2010.
Chapter 6 Advanced Report Techniques
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
COMPREHENSIVE Access Tutorial 6 Using Form Tools and Creating Custom Forms.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
® Microsoft Office 2013 Access Creating a Database.
Microsoft Access 2013 ®® Tutorial 10 Automating Tasks with Macros.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
® Microsoft Office 2010 Exploring the Basics of Microsoft Windows 7.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Creating an Application System Using Macros, Wizards, and the Switchboard.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
® Microsoft Office 2010 Exploring the Basics of Microsoft Windows 7.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Excel Tutorial 8 Developing an Excel Application
Access Tutorial 2 Building a Database and Defining Table Relationships
Objectives Create an action query to create a table
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Chapter 7 Advanced Form Techniques
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office Access 2003
Microsoft Office Access 2003
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Macro.
Tutorial 10 Automating Tasks with Macros
Presentation transcript:

® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros

XP Objectives Run and add actions to macros Single step a macro Create a submacro Add a command button to a form Attach a macro to a command button New Perspectives on Microsoft Access 20102

XP Objectives Create an unbound form Add a list box to a form Use an SQL statement to fill a list box with object names Create multiple macros on a form Create a navigation form New Perspectives on Microsoft Access 20103

XP Macro Designer New Perspectives on Microsoft Access 20104

XP Introduction to Macros A macro is an action, or a set of actions, that you want Access to perform automatically for you New Perspectives on Microsoft Access 20105

XP Directly Running an Existing Macro With the Macro Designer open, click the Run button in the Tools group on the Design tab on the Ribbon or In the Macro group on the Database Tools tab on the Ribbon, click the Run Macro button, select the macro name in the Macro Name list in the Run Macro dialog box, and then click the OK button or In the Macros group in the Navigation Pane, right- click the macro name, and then click Run on the shortcut menu New Perspectives on Microsoft Access 20106

XP Directly Running an Existing Macro New Perspectives on Microsoft Access 20107

XP Adding Actions to a Macro New Perspectives on Microsoft Access The Macro Designer allows you create and modify macros

XP Single Stepping a Macro The macro single step feature executes a macro one action at a time, pausing between actions In the Macro Designer, click the Single Step button in the Tools group on the Design tab Click the Run button in the Tools group on the Design tab In the Macro Single Step dialog box, click the Step button to execute the next action, click the Stop All Macros button to stop the macro, or click the Continue button to execute all remaining actions in the macro and turn off the single step process New Perspectives on Microsoft Access 20109

XP Using a Command Button with an Attached Macro A command button is a control on a form that starts an action, or a set of actions, when you click it New Perspectives on Microsoft Access

XP Submacros A submacro is a complete macro with a Submacro header within a macro New Perspectives on Microsoft Access

XP Adding a Submacro Open the macro in the Macro Designer Click the Add New Action arrow, click Submacro, and then type the submacro name in the Submacro box Click the Add New Action arrow above the End Submacro statement, click the action you want to use, and then set the action’s arguments If the submacro consists of more than one action, repeat the previous step for each action Add comments as needed to the submacro to document the submacro’s function or provide other information Save the macro New Perspectives on Microsoft Access

XP Adding a Command Button to a Form New Perspectives on Microsoft Access

XP Attaching a Submacro to a Command Button New Perspectives on Microsoft Access

XP Navigation Form New Perspectives on Microsoft Access

XP Designing a User Interface A user interface is what you see and use when you communicate with a computer program New Perspectives on Microsoft Access

XP Adding a List Box to a Form Switch to Design view, if necessary If necessary, click the More button in the Controls group on the Design tab, and then click the Use Control Wizards tool to select or deselect it, depending on whether you want to use the wizard Click the More button in the Controls group on the Design tab, and then click the List Box tool New Perspectives on Microsoft Access

XP Adding a List Box to a Form Position the pointer’s plus symbol (+) where you want to place the upper-left corner of the list box, and then click the mouse button If you use the List Box Wizard, complete the dialog boxes to choose the source of the list, select the fields to appear in the list box, select a sort order, size the columns, and select the label If you do not use the List Box Wizard, set the Row Source property and size the list box New Perspectives on Microsoft Access

XP Adding a List Box to a Form New Perspectives on Microsoft Access

XP Using SQL SQL (Structured Query Language) is a standard language used in querying, updating, and managing relational databases Open the query in Datasheet view or Design view Click the SQL View button on the status bar, right- click the object tab and click SQL View on the shortcut menu, or click the View button arrow in the Views group (in Datasheet view) or in the Results group (in Design view) and click SQL View New Perspectives on Microsoft Access

XP Using SQL New Perspectives on Microsoft Access

XP Macros The Load event occurs when Access opens a form New Perspectives on Microsoft Access

XP Creating a Navigation Form A navigation form is a form with tabs that allows you to display database objects in an organized way to users New Perspectives on Microsoft Access