Microsoft Access 2007 Programming using VBA

Microsoft Access 2007 Programming using VBA

In “Access 2007 Programming Using VBA” you will learn how to extend the functionality of Access using a programming language called Visual Basic for Applications (VBA). With VBA you can create code which will allow you to automate the functionality of your database You will learn how to use the individual elements of this powerful programming language in order to design, develop and run VBA code.

Duration: 2.0 day(s)

Price: £564.00 + VAT

Locations

Infero Ltd is based in the Lace Market in Nottingham. Training courses take place at the following locations including Nottingham, Derby, Loughborough, Mansfield, Chesterfield, Burton-on-Trent, Lincoln, Leicester, Sheffield, Stoke-on-Trent, Tamworth, Wolverhampton, Walsall, Birmingham, Solihul, Coventry, Nuneaton, Peterborough, Grantham.

Target Students

The target students for this course are those individuals who regularly use Access and wish to extend its capabilities through programming.

Prerequisites

Appropriate introductory and advanced courses plus several weeks of practice. No programming experience is required.

Delivery Method

Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.

Certification

This course is one of a series of courses that addresses Microsoft Certified Application Specialist (Microsoft Business Certification) skill sets. The Microsoft Certified Application Specialist program is for individuals who use Microsoft's business desktop software and who seek recognition for their expertise with specific Microsoft products. Certification candidates must pass one or more proficiency exams in order to earn Microsoft Certified Application Specialist certification.

Course Objectives

Upon successful completion of the course, the students will be able to:

  • Understand the VBA development environment
  • Create modules, sub procedures, and function procedures
  • Work with objects, properties, methods, and events
  • Learn about the Access object hierachy
  • Understand variables and constants
  • Work with expressions and statements
  • Use intrinsic functions
  • Work with control-of-flow structures
  • Work with the Recordset object
  • Understand errors and debug code
  • Trap and handle errors in code

Course Content

Lesson 1: Getting Started

Introduction to Programming in Access
Why Program in Access?
Understanding the Development Environment
Using Visual Basic Help

Lesson 2: 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

Lesson 3: 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

Lesson 4: 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

Lesson 5: 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...To…Next Structure
Using the For Each…Next Structure
Using the Do...Loop Structure
Guidelines for use of Branching Structures

Lesson 6: Working with Recordsets

Declaring and Creating Object Variables
Working with the DAO Recordset Object

Lesson 7: 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

Lesson 8: 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


What you get

  • Professional Microsoft Certified Trainer
  • Comfortable Premises, equipped with all the technology you need
  • Comprehensive Course Materials
  • 12 Months Post Course Support
  • Pub Lunch
  • Refreshments, available throughout the day

                    More on Why Train With Us

Training Options

Public Course Schedule & Booking

Or chose from Our Locations:

Birmingham

Nottingham

 

Related Courses


Back