cm logo
To speak to a training advisor please call
All Courses / Microsoft Courses / Microsoft Access 2007: Visual Basic for Applications (VBA)
Share: Follow us: Bookmark with: twiter Print Page:

Microsoft Access 2007: Visual Basic for Applications (VBA)

Course Code: DAC07VBA      Days: 2

Course Overview

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.

On completion of the Microsoft training course, Microsoft users will be well equipped to use Access

Related Courses

Audience

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

Skills Gained

Delegates will learn how to

  • Understand and use the VBA Development Environment
  • Work with Procedures and Functions
  • Understand and use Access Objects
  • Work with Expressions, Variables, and Intrinsic Functions
  • Control Program Execution with Decision statements and loops
  • Work with the ADODB Recordset object
  • Debug Code and create Error Handling statements

Prerequisites

Before attending this course, students need to be able to: Understand database design and create tables, forms and reports. Have created queries and understand how to use query expressions.

Course Outline

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...To...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

Appendix: Working with ADODB Recordsets


How to make a booking for the DAC07VBA course

Scheduled Dates

Request availability or enquire by clicking a date:

Sort by Location

London Region
London (Central)
£ 590
London (Central)
£ 590
London (Central)
£ 590

Sort by Date

London Region
£ 590
London Region
£ 590
London Region
£ 590

No Suitable Dates?

Please click above and we will take care of the rest.

Please click above and we will be happy to discuss the benefits of onsite and bespoke courses with you.

CourseMonster books thousands of public training courses, classes and boot camps both in London, City of London and throughout the UK including: Berkshire, Birmingham, Bristol, Bournemouth, Aylesbury, Cambridge, Derby, Devon, Edinburgh, Glasgow, Hampshire, Ipswich, Leeds, Leicester, Luton, Manchester, Middlesex, Milton Keynes, Newcastle, Norwich, Nottingham, Plymouth, Reading, Sheffield, Southampton, Surrey, Sussex, Midlands and Yorkshire. Topics range from software to administration, project management and development.