Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CourseHorse

Access Programming with VBA (Live Online)

via CourseHorse

Overview

This comprehensive programming course teaches you how to develop robust applications using Visual Basic for Applications (VBA) within Microsoft Access. You will learn to create procedures, work with objects, manage data through recordsets, and implement error handling to build professional-grade database applications.

Prerequisites:

This course requires completion of appropriate introductory and advanced courses, combined with several weeks of practical programming experience. No prior programming experience is necessary to begin, though foundational knowledge is expected.

Getting Started

  • Introduction to programming in Access and its benefits
  • Why programming in Access enhances database functionality
  • Understanding the Access development environment
  • Accessing and using Visual Basic Help resources

Working with Procedures and Functions

  • Understanding modules and code organization
  • Creating standard modules for shared code
  • Understanding procedures and their types
  • Creating Sub procedures for performing actions
  • Calling procedures and passing parameters
  • Using the Immediate Window to test procedures
  • Creating Function procedures that return values
  • Naming procedures using best practices
  • Organizing code and procedures effectively
  • Working with the Code Editor for development

Understanding Objects

  • Understanding classes and object-oriented concepts
  • Navigating the Access object hierarchy
  • Understanding collections and object groups
  • Using the Object Browser for exploration
  • Working with the Application object
  • Understanding the Form object and its capabilities
  • Working with properties to configure objects
  • Using the With statement for efficient coding
  • Working with methods to perform actions
  • Understanding the DoCmd object for commands
  • Working with events and event procedures
  • Understanding the order of events in Access

Using Expressions, Variables, and Intrinsic Functions

  • Understanding expressions and statements
  • Declaring variables with proper scope
  • Understanding data types and their uses
  • Working with variable scope for proper access
  • Working with variable lifetime during execution
  • Considering scope and lifetime together
  • Using intrinsic functions for common tasks
  • Understanding constants for fixed values
  • Using intrinsic constants in Access
  • Using message boxes for user communication
  • Using input boxes for user input

Controlling Program Execution

  • Understanding control of flow structures
  • Working with Boolean expressions and logic
  • Using If and End If decision structures
  • Using Select Case and End Select for multiple conditions
  • Using For and Next for counting loops
  • Using For Each and Next for collection iteration
  • Using Do and Loop structures for conditional looping
  • Following guidelines for appropriate branching structures

Working with Recordsets

  • Declaring and creating object variables
  • Working with the DAO Recordset object for data manipulation

Debugging Code

  • Understanding different types of errors
  • Using debugging tools to find issues
  • Setting breakpoints to pause execution
  • Setting break expressions for conditional stops
  • Using break mode during program execution
  • Stepping through code line by line
  • Determining the values of expressions during debugging

Handling Errors

  • Understanding error handling principles
  • Understanding VBA error trapping options
  • Trapping errors with the On Error statement
  • Understanding the Err object and its properties
  • Writing effective error-handling routines
  • Working with inline error handling techniques

Taught by

ONLC Training Centers

Reviews

4.3 rating at CourseHorse based on 8 ratings

Start your review of Access Programming with VBA (Live Online)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.