ACCESS VBA
Microsoft Access VBA allows experienced Access users to automate processes and create more powerful database applications. This practical Microsoft Access VBA Course introduces Visual Basic for Applications and shows you how to use programming techniques within Access.
You’ll learn how to work with modules, procedures, functions, variables, Access objects, methods and events. The course also covers control structures, SQL commands and object variables, giving you the tools to automate database operations and create more sophisticated solutions.
You’ll then work with testing, debugging and error handling to make applications more reliable. Designed with database developers in mind, the course focuses on applying VBA to practical Access development rather than simply learning programming syntax.Â
Two Day Course

COURSE OBJECTIVES
By the end of the course, you’ll be able to plan and create more robust Microsoft Access applications using VBA.
You’ll be able to create functions and procedures, work with Access objects and events and use variables and control structures to manage application behaviour. You’ll also learn how to process information using SQL commands and work with database object variables.
The course covers techniques for testing, debugging and handling errors, helping you create applications that are easier to maintain and more reliable in use.
COURSE CONTENT
Introduction to Access VBA
Become familiar with Visual Basic for Applications (VBA) and its role in automating Microsoft Access. Review Access macros and navigate the VBA programming environment to begin working with code.
Modules & Procedures
Organise VBA code using modules and procedures. Create and open modules, and work with Function, Sub and Event procedures to perform different programming tasks.
Access Objects, Methods & Events
Interact with Access database components through VBA. Work with objects, collections, methods and events, and reference forms, fields, reports and controls within your code.
Variables & Data Types
Store and manage information using VBA variables and data types. Declare public, private and static variables, control their scope and apply conversion functions when working with different values.
Control Structures
Manage the flow of VBA programs using conditional statements and loops. Apply If...Then...Else, Select Case, For...Next, Do...Loop, While and For Each structures to control code execution.
Working with Recordsets
Access and process database records programmatically using recordsets. Work with database objects and workspaces to retrieve, navigate and manipulate stored information through VBA.
Database Object Variables
Work with the Data Access Objects (DAO) model to interact with Access databases. Declare database object variables and use appropriate methods to access and manage stored information.
Using SQL with VBA
Combine SQL commands with VBA to process database information. Use SQL statements within Access applications to retrieve and manipulate records programmatically.
Testing & Debugging
Identify and resolve programming problems using VBA debugging tools. Trace code execution, set breakpoints and investigate compile-time and run-time errors.
Error Handling
Manage unexpected problems within Access applications using VBA error-handling techniques. Identify errors, control how the application responds and provide appropriate handling when issues occur.
Application Development
Bring together VBA techniques to create more sophisticated Access applications. Apply code to forms, reports, controls and database processes to automate tasks and extend functionality.
Application Security
Consider methods for controlling access to database applications and protecting stored information. Review appropriate security measures for safeguarding the finished solution.
PRACTICAL LEARNING
Throughout the course, you’ll write and modify VBA code within Microsoft Access and apply programming techniques to practical database tasks.
You’ll create procedures and functions, work with Access objects and events and use variables and control structures to determine how an application behaves. You’ll also use SQL and database objects to process stored information.
Testing and debugging exercises will help you identify problems in your code, while error-handling techniques will show you how to create more reliable database applications.
Â
CALL 01284 763040 TO BOOK YOUR PLACE

