Access VBA - Forrest Trainingforresttraining.com.au/wp-content/uploads/2015/08/access-VBA... ·...
-
Upload
duongkhuong -
Category
Documents
-
view
213 -
download
0
Transcript of Access VBA - Forrest Trainingforresttraining.com.au/wp-content/uploads/2015/08/access-VBA... ·...
Forrest Training Pty Ltd - ABN 66 065 219 258 – Level 7, 83 York Street, Sydney NSW 2000p: 02 9262 2284 | f: 02 9262 2286 | e: [email protected] | www.forresttraining.com.au
Access VBA Course Information
Access VBA Course Content
Target Audience & Purpose Access VBA is for highly skilled developers who wish to add high-end automation.
Course Prerequisites This course assumes a sound knowledge of the standard features of Access covered in the Introduction and Advanced courses.
Course Inclusions•Comprehensivelearningmaterialsincl.exercisefiles• Post course telephone support•‘CertificateofAttendance’oncompletionofcourse• Light lunch plus morning & afternoon tea
Development BasicsThe Access Development, Environment, The Importance Of Splitting, Databases, Maintaining Links, Using The Database Splitter, Using Queries For Reports And, Forms, Access Run-Time, Understanding Client/Server
Macros & VBAMacro Overview, Creating Macros, Assigning Macros, Creating More Complex Macros, Converting Macros To VBACode,WhyYouShouldn’tUseMacros
VBA EssentialsProgramming Environment, Overview, The Role Of Forms, Creating A Startup Form, Understanding Modules, Code Behind Forms, Standard Code Modules, Standard Vs Class Modules, Naming Conventions
Objectives By the end of this course participants should be able to:
• Create and assign macros• Understand the advantages and disadvantages of using macros• Use forms and modules in the VBA editor• Create and work with subroutines and functions• Create and work with variables• Communicate with the user through input boxes and message boxes• Program decision structures using IF and CASE statements• Develop a variety of programming loops for repeating operations• Use the DoCmd object• Use ADO to handle working with data in your programs• Use the debugging features of VBA to locate and identify errors• Develop error-handling routines to prevent errors.
VBA SubroutinesUnderstanding Modules In Access, The Anatomy Of A Module, Creating A Subroutine, Creating A Function, Calling Procedures, Passing Parameters, Returning Values, Scoping Procedures
Variable VBAOverview Of Variables, Creating String Variables, Option Explicit,WorkingWithNumbers,DealingWithOverflows,Working With Decimals, Working With Dates, Default Values, Scoping Variables, Local Variables, Module-Wide Variables, Passing Parameters, Passing Parameters By Value
Two Day Course from 9.00 am to 4.30 pm
Access VBA
Forrest Training Pty Ltd - ABN 66 065 219 258 – Level 7, 83 York Street, Sydney NSW 2000p: 02 9262 2284 | f: 02 9262 2286 | e: [email protected] | www.forresttraining.com.au
Interactive VBAThe Act Of Communicating, Creating A Simple Input Box, Creating More Elaborate Input, Boxes, Global Positioning, Simple Message Boxes, Creating Larger Messages, Breaking A Message Line, Customising Icons And Buttons, MessageBoxFunctions,RespondingToDifferentButtons
Decisive VBADecisions Overview, Creating An In-Line If, Creating A Block If, Multiple If, Multiple If Using Text, Using Case Statements, Value Ranges In Case Statements, Case Statements With OR, Asking Yes/No Questions
Looping VBAProgram Loops, Creating A While Loop, Taking Care Of Counters, Creating An Until Loop, For Each Loops, Exiting From Loops, For Next Loops
The DoCmd ObjectOverview Of DoCmd, Navigating With DoCmd, Moving Through Records, Filtering Records With DoCmd, Opening A Form With DoCmd, Opening A Report With DoCmd, Closing A Form, Creating Variable Reports
ActiveX Data Objects – TablesADO Overview, Setting References Using VBA, Create and Remove a Table with ADO, Populate a Form using ADO, Dealing with an Empty Table
ADO Forms & RecordsetsOverview of ADO With Forms & Recordsets, Navigating Records in a Form, Adding, Finding, Updating and Deleting a Record
Debugging VBADebugging Overview, Setting A BreakPoint, Setting Additional Breakpoints, Stepping Through A Procedure, Viewing The Call Stack, Using The Locals And Immediate, Windows, Adding A Watch, Deleting A Watch
Handling Errors In VBAError Handling Overview, Understanding Common Errors, Creating A Simple Error Handler, Understanding The Error Object, Model, More Elegant Error Handling, Resuming From Errors, Forcing An Error, Creating Custom Errors
Access VBA