Font size:



Description

This course is designed for experienced Access users who want to learn ActiveX Data Objects, control structures, and the basics of VBA programming.



Objectives

Lesson objectives help students become comfortable with the course, and also provide a means to evaluate learning. Upon successful completion of this course, students will be able to: • Work with objects, use Object Browser, identify collection objects, and use the Controls collection. • Manipulate data by declaring variables, combine data by using expressions, get user input, create Sub and Function procedures, and call one procedure from another. • Use decision structures and use loop structures. • Identify ActiveX Data Objects (ADO) architecture and collections, connect to a database, work with a Recordset, and create a parameter query

Prerequisites

There are no prerequisites for this course.

Outline

Getting Started • Introduction to Programming in Access • Why Program in Access? • Understanding the Development Environment • Using Visual Basic Help Working with Procedures and Functions • Understanding Modules • Creating a Standard Module • Understanding Procedures • Creating a Sub Procedure • Calling Procedures • Using the Immediate Window to Call Procedures • Creating a Function Procedure • Naming Procedures • Organizing Code and Procedures • Working with the Code Editor Understanding Objects • Understanding Classes and Objects • Navigating the Access Object Hierarchy • Understanding Collections • Using the Object Browser • Working with the Application Object • Understanding the Form Object • Working with Properties • Using the With Statement • Working with Methods • Understanding the DoCmd Object • Working with Events • Understanding the Order of Events Using Expressions, Variables, and Intrinsic Functions • Understanding Expressions and Statements • Declaring Variables • Understanding Data Types • Working with Variable Scope • Working with Variable Lifetime • Considering Variable Scope and Lifetime Together • Using Intrinsic Functions • Understanding Constants • Using Intrinsic Constants • Using Message Boxes • Using Input Boxes Controlling Program Execution • Understanding Control-of-Flow Structures • Working with Boolean Expressions • Using the If...End If Decision Structures • Using the Select Case...End Select Structure • Using the For...Next Structure • Using the For Each...Next Structure • Using the Do...Loop Structure • Guidelines for use of Branching Structures Working with Recordsets • Declaring and Creating Object Variables • Working with the DAO Recordset Object Debugging Code • Understanding Errors • Using Debugging Tools • Setting Breakpoints • Setting Break Expressions • Using Break Mode during Run Mode • Stepping through Code • Determining the Value of Expressions Handling Errors • Understanding Error Handling • Understanding VBA's Error Trapping Options • Trapping Errors with the On Error Statement • Understanding the Err Object • Writing an Error-Handling Routine • Working with Inline Error Handling Appendix - Working with the ADO Recordset Object

Cancellations:

Standard and Professional Desktop Application & Professional Development classes may be cancelled or rescheduled by the client at least four (4) business days in advance without penalty. A full credit (no refunds) will be applied to future training on all cancelled classes that meet the above-stated criteria. A cancellation fee equal to the course fee will be incurred if a student provides less than 4 days’ notice for any Standard or Professional Desktop Applications, or Professional Development Skills class cancellations. Technical courses or Private classes may be cancelled or rescheduled (no refunds) greater than two weeks in advance without charge. The client is responsible for 50% of the class fee if a technical or private class is canceled or rescheduled within two weeks of the class date, and full price if the course is canceled or rescheduled within one week of the class date.
Find a class and register in three easy steps:
  • 1. Select Location:
  • 2. Select Date Range:
    to
  • 3. Select Class Type:
    • All Types
    • C Classroom
    • V Virtual Live
    • Cv In-Class Virtual
    • O Online
Virtual Live3/12/2018 10:00:00 AM<span class="course-type type-v" style="cursor:default;word-wrap:normal;display:inline-block;" onmouseover="showHoverInfo(this, 'ProductTypeDescription' ,'VILT')" onmouseout="clearHoverInfo()">V</span>3 days1485.002265579
Virtual Live4/11/2018 10:00:00 AM<span class="course-type type-v" style="cursor:default;word-wrap:normal;display:inline-block;" onmouseover="showHoverInfo(this, 'ProductTypeDescription' ,'VILT')" onmouseout="clearHoverInfo()">V</span>3 days1485.002265582
Virtual Live5/7/2018 10:00:00 AM<span class="course-type type-v" style="cursor:default;word-wrap:normal;display:inline-block;" onmouseover="showHoverInfo(this, 'ProductTypeDescription' ,'VILT')" onmouseout="clearHoverInfo()">V</span>3 days1485.002265585
seek-warrow-w
  • 1
arrow-eseek-eitems per page1 - 3 of 3 items