• Search
  • Cart
  • Courses

Access - Visual Basic for Applications

(4.82 out of 5) 34 Student Reviews

About the Course

This 3 day course teaches participants to develop programs in VBA for Microsoft Access. A project is undertaken throughout the course to reinforce the concepts . The aim of the project is to put into practice the skills taught during formal sessions, and to foster good coding practices. Special emphasis will be placed on re-usability of code blocks, creation of efficient coding structures and application of standard and consistent VBA coding syntax.

Who should do this course?

This is an advanced level course designed for people who have a thorough working knowledge of Microsoft Access, but need to learn VBA Programming techniques to improve their skills and productivity.

Prerequisites

This course is designed for participants with little or no knowledge of programming, however a sound working knowledge of Microsoft Access is essential, including formatting, reports, queries and relational databases.

Quick Facts

$ 1485 incl GST

Duration: 3 Days

Max. Class Size: 10

Avg. Class Size: 5

Level: Expert

Times: 9.00am to 5.00pm approx

Course Dates

24-26 May 17Wed - Fri

21-23 Aug 17Mon - Wed

22-24 Nov 17Wed - Fri

07-09 Feb 18Wed - Fri

30 Apr - 02 May 18Mon - Wed

Address

Level 11,
32 Walker Street,
North Sydney , NSW 2060

View map

Click Here external link for Google Map

26-28 Apr 17Wed - Fri

31 May - 02 Jun 17Wed - Fri

21-23 Aug 17Mon - Wed

15-17 Nov 17Wed - Fri

12-14 Feb 18Mon - Wed

Address

Level 12
379 Collins Street,
Melbourne , VIC 3000

View map

Click Here external link for Google Map

19-21 Jun 17Mon - Wed

11-13 Sep 17Mon - Wed

06-08 Dec 17Wed - Fri

26-28 Feb 18Mon - Wed

23-25 May 18Wed - Fri

Address

C/O Support Technology
Level 6, 371 Queen Street,
Brisbane , QLD 4000

View map

Click Here external link for Google Map

Upon demand

This course is currently upon demand in Canberra

Address

C/O Atlas Business Services
Level 1, 33 Ainslie Place,
Canberra , ACT 2601

View map

Click Here external link for Google Map

Upon demand

This course is currently upon demand in Adelaide

Address

C/O The International Visualisation Centre (IVC)
19 Young Street,
Adelaide , SA 5000

View map

Click Here external link for Google Map

Upon demand

This course is currently upon demand in Perth

Address

C/O Saxons Training Facilities
Level 1, 140 St Georges Terrace,
Perth , WA 6000

View map

Click Here external link for Google Map

Please Join the waiting list and We'll notify you when a new class is scheduled or if a place becomes available.

Course Units

Expand full topic list

Unit 1: VBA Essentials

See topics

  • Understanding The Programming Environment
  • Exploring The Object Model
  • Navigating With Forms
  • Creating A StartUp Form
  • The VBA Editor Window
  • Working With The Project Explorer
  • Working With The Properties Window
  • Understanding Modules
  • Viewing The Code Behind Forms
  • Standard Code Modules
  • Understanding Naming Conventions

Unit 2: VBA Subroutines

See topics

  • Understanding Modules In Access
  • Understanding Procedures
  • Anatomy Of A Module
  • Creating A Subroutine
  • Creating A Function
  • Calling Procedures
  • Passing Parameters
  • Returning Values
  • Scoping Procedures

Unit 3:Using Variables

See topics

  • Understanding Variables
  • Understanding Data Types
  • Creating And Using Variables
  • Implicit And Explicit Declarations
  • Working With Numbers In VBA
  • Dealing With Overflows
  • Working With Decimals In VBA
  • Working With Dates In VBA
  • Default Values
  • Understanding The Scope Of Variables
  • Procedure Level Scoping
  • Module Level Scoping
  • Passing Variables By Reference
  • Passing Variables By Value

Unit 4: Making Decisions

See topics

  • Understanding The If Statement
  • Creating A Single-Line If Statement
  • Creating A Block If Statement
  • Creating Multiple If Statements
  • Assignment: Creating If Statements
  • Using If For Multiple Text Conditions
  • Understanding The Select Case Statement
  • A Simple Select Case Statement
  • Value Ranges In Select Case Statements
  • Using Select Case Statements With OR

Unit 5: Interacting with users

See topics

  • Understanding Input Boxes
  • Using The InputBox Function
  • Using InputBox Function Arguments
  • Understanding Message Boxes
  • Creating A Simple Message Box
  • Creating A Longer Message
  • Breaking A Message Line
  • Displaying Buttons And Icons
  • Using The Message Box Function
  • Responding To Different Buttons

Unit 6:The DoCmd Object

See topics

  • Understanding DoCmd
  • Navigating With DoCmd
  • Moving Through Records
  • Filtering Records With DoCmd
  • Opening And Closing A Form With DoCmd
  • Opening A Report With DoCmd
  • Creating Variable Reports

Unit 7: Looping in VBA

See topics

  • Understanding Loops
  • Understanding For Loops
  • Creating A While Loop
  • Working With Counters
  • Creating An Until Loop
  • For…Each Loops
  • Exiting From Loops
  • For...Next Loops
  • Assignment: Creating Loops

Unit 8: Debugging VBA

See topics

  • Understanding Debugging
  • Setting A Breakpoint
  • Setting Additional Breakpoints
  • Stepping Through A Procedure
  • Viewing The Call Stack
  • Using Locals And Immediate Windows
  • Adding A Watch

Unit 9 : Form Validation

See topics

  • Data Validation Overview
  • Validating Between Fields
  • Highlighting the Current Field
  • Highlight ALL Required Fields
  • Adding to Combo Boxes using the NotInList Event
  • Value Lists
  • Table/Query Lists (Single Selection in ComboBox)
  • Table/Query Lists (Multiple Columns in ComboBox)
  • Requesting a Change (via Email)

Unit 10: Controlling User Access Level

See topics

  • Retrieving User Roles
  • Using the Allow… Properties
  • Disable / Enabling Controls and Menu Options
  • Using OpenArgs
  • The Tag Property
  • The Form Timer Event

Unit 11: Setting References

See topics

  • Setting References
  • Available References
  • Locating Other Libraries
  • Late Vs. Early Binding
  • Using Outlook – Early Binding
  • Using Outlook – Late Binding

Unit 12: Using an External Reference - File Dialogs

See topics

  • FileDialog Object Members
  • Creating a File Dialog
  • Selecting a Single File Only
  • Creating a File Type Filter
  • Selecting Multiple Files
  • Creating a Generic File Dialog module
  • Defining the File Types (as optional arguments)
  • Storing the returned file path
  • Storing Multiple Values – using an Array
  • Extending the Project

Unit 13: Working with Files and Folders

See topics

  • Features of the Microsoft Scripting Runtime Library
  • Using the FileSystemObject
  • Working with Folders
  • Creating Folders
  • Deleting Folders
  • Checking for Contents of a Folder
  • Consolidating the Create/Delete/Review Routines
  • Copy Folder
  • Move Folder
  • Next Steps
  • Working with Files
  • Adding Files
  • Writing To a Text File
  • Copying and Moving Files
  • Deleting Files

Unit 14: Audit Logging Routines

See topics

  • Capturing User Login/Logout Details
  • User Login Routine
  • User LogOut Routine
  • Logging Form/Report Interaction
  • Logging the Opening Time
  • Logging the Closing Time
  • Retaining Full Data History
  • Further Considerations

Unit 15: Error Handling

See topics

  • VBA Error Handling
  • Error Handling Logic
  • Creating a Standard Error Handling Routine
  • Logging Errors
  • Extending Error Handling
  • Keeping the User Informed of the System State

Unit 16: Code Commenting & Template Creation

See topics

  • Adding Detailed Comments – A Structured Approach
  • Creating a Database Template
  • Importing Objects into the Template DB
  • Exporting Objects as Text Files

Unit 17: Using the Access Developer Tools

See topics

  • Creating a Database Template

Unit 18: Access Recordsets

See topics

  • ADO
  • The Connection Object
  • Command Object
  • RecordSet Object
  • Removing References to SET Variables
  • DAO
  • Creating a DAO Recordset
  • Working with DAO Recordsets
  • Bound Forms & SubForms (Using Queries)
  • Change From Bound To UnBound (Using RecordSets)
  • Creating The Forms RecordSet
  • Completing the Navigational Elements
  • Adding New Records
  • Editing Records
  • Deleting Records
  • Completing The Unbound Form
  • Adding Error Trapping
  • Dealing with Code Duplication

Reviews

(4.90 out of 5) Andrew L [ 21 March, 2016 ]
Course work was relevant, challenging and engaging. Covered a lot of scope but good focus on key and important features. An enjoyable course with a very knowledgeable and experienced instructor. Thank you for the course.
(4.90 out of 5) KIARASH M [ 28 May, 2015 ]
Very nice work by Daniel - I learned a lot of programming techniques as well as how to strategize my work

See more reviews

(4.20 out of 5) Rose S [ 10 December, 2014 ]
It was really good course, I enjoyed thoroughly in the three days. Tom is a very knowledgeable instructor
(4.90 out of 5) Bernie W [ 22 September, 2014 ]
Daniel is pretty cool and funny. Only two of us in the class and he has been busy keeping us busy and giving us a lot of useful information and tutorial exercise. The course is smooth and we were able to raise any questions during the course.

Read all reviews

Enquire Now

Fill in your details to have a training consultant contact you to discuss your training needs.

Your details

Other Ways To Get In Touch

You can also Book Online or call us on 1300 888 724

Back to Top