Course Code: 1017

Access Programming in VBA

Class Dates:
11/21/2022
Length:
3 Days
Cost:
$995.00
Class Time:
Technology:
Database
Delivery:
Instructor-Led Training, Virtual Instructor-Led Training

Overview

  • Course Overview
  • This instructor-led course looks at the critical aspects of application development using Microsoft Access. You'll dig deep into forms, tables, queries, and reports, and explore modules as you learn to use Visual Basic for Applications (VBA). You'll learn how to programmatically display and manipulate data on forms and reports. What is Access VBA

    VBA stands for Visual Basic for Applications. Visual Basic is, by far, the most widely used programming language in the world. It has been estimated that Visual Basic programmers outnumber every other programmer added together! VBA is no different from regular Visual Basic except that it can only be used to add features to Microsoft Office applications (such as Access, Excel, PowerPoint, Word, Project and Visio) rather than to write free-standing applications.

  • Audience
  • To get the most out of Programming in Microsoft Access, you should understand how to create and use all the interactive Access objects: Tables, queries, forms, and reports. You should have taken Access Level 1, Level 2 and Level 3 or the associated knowledge. Programming experience in any language is helpful, but not required. Access Level 1: Introduction to Microsoft Access Access Level 2: Intermediate Topics Access Level 3: Advanced Topics.
    Much of what you learn in our VBA course will also be relevant to writing custom VBA extensions to other office applications too.

    If you are an Expert-level Access user and still can't make Access do what you need then this course is definitely for you.

    If you want to develop robust, professional and polished Access applications for re-sale this course will show you how.

Prerequisites

Course Details

  • 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