| Fee | £400 |
|---|---|
| Days | 2 |
| Code | AVBA07 |
There are currently no dates scheduled for this course.
However it can still be provided on a closed-company basis – or we may schedule it on demand. Please contact us for further information.
e-mail us
or call us on
0845 650 6500
Access 2007 Programming with VBA
The Access 2007 Programming with VBA training course is available at our Cardiff training centre in Wales, which is also within easy reach of Newport, Bristol and South Wales
Overview
This two day course is designed to provide delegates with the knowledge to manipulate Access 2007 and gives developers greater opportunities to create rich desktop applications for end users. An improved programming model gives easier access to office functionality allowing for the delivery of powerful custom desktop solutions.
Examination information
- There is no examination associated with this course.
Prerequisites
Before attending this course, students must have:
- Attended appropriate introductory and advanced courses plus several weeks of practice. No programming experience is required.
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
Quick link to this course: www.e-academy.ltd.uk/avba07








