VBA using Access
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
This course is aimed at those who would like to develop their skills and knowledge of VBA programming in Access application development.
About this course
Delegates should have attended Access Level 2 and/or Level 3 courses or have equivalent knowledge. Delegates should be currently working with an Access database application that they have built themselves. Delegate should also understand table, query, form, report and macro design and function, as well as data normalization and table relationships.
Reviews
Course programme
This course is aimed at those who would like to develop their skills and knowledge of VBA programming in Access application development.
Prerequisites
- Delegates should have attended Access Level 2 and/or Level 3 courses or have equivalent knowledge.
- Delegates should be currently working with an Access database application that they have built themselves.
- Delegate should also understand table, query, form, report and macro design and function, as well as data normalization and table relationships.
Objectives
- Delegates will be able to :
- Explain the difference between sub and function procedures in VBA code
- List 3 common events and in where they might use them in application design
- Write professional VBA code segments with error checking to carry out tasks as defined by your tutor
- Use the AccessObject object to create an intelligent report selection form
- Build a browse form for quick navigation to a specific record
- Create a flexible report such that people may choose its content at run-time
- Describe how to debug VBA code
- Access Level 2 ()
- Access Level 3 ()
- Comprehensive colour course manual and exercises
- Use of a Modern Training suite with 19 inch flat screen monitors
- 1 delegate per computer
- Lunch (When at our training venue)
- Refreshments (When at our training venue)
- Relaxed refreshment area at our training room
Designing Applications
- Macros or VBA?
- The development process
- What is an access application?
- Completing the company contacts Form
- Converting macros to VBA
- The VBA IDE
- Naming conventions
- Variable scope and lifetime
- Constants and intrinsic constants
- Variables
- Built-in functions
- Procedure declaration
- Subroutines and functions
- Modules
- Procedures
- Arrays
- Repetition
- Programming structures
- The object browser
- Special objects
- Referring to objects
- Forms and reports
- The AccessObject object
- Access objects
- Object models
- Object-oriented programming
- Working with recordsets
- The DAO hierarchy
- DAO vs ADO
- Filters
- Format
- Error
- Close
- Deactivate
- Activate
- Open
- Events
- Custom DAO properties
- Dynamic-link libraries (DLLs)
- Arguments
- Arrays
- Debugging your debugging code
- Error handling
- Debugging
- Types of errors
- Testing
- Compiling
- Planning for errors
- Forms as class modules
- Class modules and custom objects
- Add-ins
- Class libraries
- Library databases
- Compiling
- Security
- Record locking in access
- Multi-developer issues
- Publishing data to the internet
- The HyperLink data type
- The internet
- Finishing touches
- Network considerations
- Increasing apparent speed
- Increasing execution speed
- Reducing memory overhead
- Efficiency
VBA using Access