Full star Half star Star PDF
The Ultimate Training Experience.

Access 2007 VBA Package

This package helps existing Access database users enhance their productivity by using Visual Basic. Participants will gain advanced Access Skills and learn how to develop programs in VBA.

Quick Facts

 

$1,650 incl GST
Save $825.00

         Class Size: 10

     Times: 9.00am – 5.00pm

 
 

About the Package

The Access 2007 VBA package is designed for people who have a thorough working knowledge of Microsoft Access, but no programming knowledge. The combination of advanced Access training and VBA programming techniques give students the ability to develop VisualBasic programs.

The Access 2007 – Visual Basic for Applications package includes the following courses:

Advanced Microsoft Access 2007 - Masterclass (2 days)
Microsoft Access 2007 - Visual Basic for Applications (3 days)

Prerequisites

Students should have completed the FastTrack to Access 2007 course, or have equivalent practical knowledge, including database design, tables, queries, forms and reports, prior to commencing this package. Participants should also follow the sequence of courses listed above. More details on prerequisites can be found within individual course descriptions.


Subject to prerequisites being met, one or more participants can book into a package. Review training package conditions .

Courses Units: Access - Visual Basic for Applications

Unit 1: VBA Essentials

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Creating a Database Template

Unit 18: Access Recordsets

  • 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

Upcoming Dates

You’ll need to check the dates for each of the individual courses within this Package.

Check our Course Dates, or contact us to discuss your specific needs.

 

$1,650 incl GST
Save $825.00

         Class Size: 10

     Times: 9.00am – 5.00pm

 
REQUEST A CALLBACK
A team member will call you at a time convenient to you.
Your message was sent, thank you!
Contact us

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