Microsoft Visual Basic for Access 2002

Introduction

Welcome/Intro
Course Overview
Who This Course Is For

VBA Basics

This is VBA
VBA IDE
Project Window
Properties Window
Custom Toolbar
Writing Code
Getting Assistance In VBA

Variables

Variables Explained
Creating Variables
Data Types
Expressions
Constants
Static Variables
Option Explicit
Variable Scope
Option Compare

Modules

Intro to Modules
Procedures
Using Arguments
Public vs Private
Functions
Using Form Modules
Using Standard Modules
Enhancing Code Readability

Event Based Programming

Events
Handling Events
Choosing Events
Form Events
Control Events
DoCmd

Forms

Collections
Forms Collection
Multiple Forms

Validating Data

Validation Levels
Database Validation
Code Level Validation
Validating Strings
Validating Numbers
Validating Dates

Object Oriented Programming

Intro to OOP
Classes
Objects
Creating A Class
Creating An Object
Object Browser
Using Application Objects

Control Structures

If/Then
Immediate If
Case Statements
Choose Function

Looping Through Code

Looping Structures
For Next Loops
For Each
Do Loops
Do While
Do Until
Do Loop While
Do Loop Until

Handling Errors

Types of Errors
Error Handling Terminology
Creating An Error Handler
Using The Err Object
Exiting Error Handler Routine
Error Handling Templates

Debugging

Intro to Debugging
Navigating Your Code
Breakpoints
Working In Break Mode
Immediate Window
Locals Window
Watch Window

Data Access

Data Access Basics
Connection Object
Recordset Object
Referencing Fields
Navigating Records
SQL Queries
Updating Records
Adding Records Pt.1
Adding Records Pt.2
Deleting Records Pt.1
Deleting Records Pt.2
Connecting To SQL Server
DAO vs ADO

Application Completion

Documentation
Testing
Startup Options
Splash Screens
Packaging For Delivery
Using The Database Splitter

Credits

About The Author