Access 2007-2013
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
 
 

< Previous: Access Advanced 6

Next: Access Developer 2 >

Access Developer Level 1

Developer-Level Microsoft Access Tutorial - 1 Hour, 15 Minutes
 
 
Access Developer 1 focuses on learning how to program the Visual Basic for Applications programming language (VBA) in Microsoft Access. Topics include:
 
access cd   - Introduction to Access VBA
  - Statements, Procedures, Parameters
  -
DoCmd.OpenForm

  - Multiple Command Arguments
  - SetWarnings, OpenQuery
  - If / Then / Else Statements
  - GoToControl, GoToRecord
  - Add New Customer Button
  - AfterUpdate Events in VBA
  -
Lots more

Order Now

If you would like a preview of what's covered in this class,
click here to watch the first and last lessons of this course (free of charge), or scroll down for more information.




 

Access Developer Level 1
Versions: Recorded with Access 2016. Most of the material should work with all versions of Access from 2003 on.
Pre-Requisites: Access Advanced Level 6 strongly recommended, as you should watch all of my classes in order. However, if you're skipping around, you should have at least completed the Beginner series and the first 3 or 4 levels of the Expert series where I start to cover functions.
Running Time: 1 Hour, 15 Minutes
Cost: $34.99


This class begins our look at programming in Visual Basic for Applications in Microsoft Access (VBA, or Access VB). We will learn exactly what Visual Basic is, and what the different kinds of VB that are available do. You will learn about the benefits of VBA over macro programming. We assume you have no VBA programming experience, and will write our very first VBA code, making the computer say "Hello World!" which is a classic first program. You will learn the MsgBox command.

access vba hello world

 

You will learn about the DoCmd.OpenForm command which is used to open a form in Access. There are several options available and we'll cover some of those today. You will learn about the arguments list, where condition, how to open a specific record, and more.

docmd.openform

 

We'll learn how to write subroutines that have multiple commands in them. You'll learn about the SetWarnings and OpenQuery commands.

subroutines

 

Next we will recreate the "add product" button we designed with a macro back in the Expert series. We will learn about the If / Then / Else statement, GoToControl, and GoToRecord commands.

if then else access vba

 

Finally we're going to learn about the AfterUpdate event, and set up VBA code so that every time I update one of the customer's billing address fields, the corresponding shipping address field updates, if the box is checked.

afterupdate vba

 

This is the 1st class in the Access Developer series. If you're serious about building quality databases with Access, and you want to learn how to automate your database with VBA Programming then don't miss out on this course. Of course, if you have any questions about whether or not this class is for you, please contact me.
 

 

Complete Outline - Access Developer Level 1

00. Intro (4:14)

01. Intro to Access VBA (8:42)
What is VBA
Visual Basic for Applications
Visual Studio
Visual Basic .NET
Benefits over Macros


02. Our First VBA Code (12:51)
Hello World
Turn off Project Explorer
Turn off Properties Window
Turn off Immediate Window
MsgBox Command
Parameters
Optional Parameters
Multiple Parameters
Keyword
Statement
Procedure
Subroutine
Function
Module


03. DoCmd.OpenForm (12:46)
Open Form Command
Arguments List
Where Condition
Open Specific Record
Duplicate Code
Preview of Creating Subs
04. Subs with Multiple Commands (5:59)
Archive Contacts Button
Docmd.SetWarnings
Docmd.OpenQuery
MsgBox Command


05. Add Product Button (12:01)
If Then Statement
End If
Else
Docmd.GoToControl
Docmd.GoToRecord acNewRec
SetValue in VBA


06. AfterUpdate Event (10:19)
Add New Customer Button
After Update Event
Always Use Event Procedures
Boolean Values TRUE is Assumed


07. Review (3:53)

 


 
Keywords: Access VBA, Visual Basic for Applications, microsoft access tutorial, microsoft access tutorial, microsoft access training, statements, procedures, parameters, docmd.openform, arguments, setwarnings, openquery, if then else, gotocontrol, gotorecord, afterupdate, events
 
 

Student Interaction: Microsoft Access Developer 1

Richard on 6/7/2017:  Microsoft Access TutorialsAccess Developer 1 begins our in-depth study of Visual Basic for Applications programming with Microsoft Access (Access VBA). If you're serious about building quality databases with Access, and you want to learn how to automate your database with VBA, then don't miss out on this course. Contents include: - Introduction to Access VBA - Statements, Procedures, Parameters - DoCmd.OpenForm - Multiple Command Arguments - SetWarnings, OpenQuery - If / Then / Else Statements - GoToControl, GoToRecord - Add New Customer Button - AfterUpdate Events in VBA - Lots more Click here for more information on Access Developer 1, including a course outline, sample videos, and more. This course was recorded using Access 2016, but most of the topics covered are valid for all versions of Access from 2003 on. This class follows Advanced Level 6. NOTE: The next class in the series, Access Developer Level 2 is in production right now, and should be available soon. You can PRE-ORDER IT NOW on the Waiting List and get a discount when it's released. When you're finished with this class, if you want to keep learning Access, move up to my Access 302 class. Yes, this class is for Access 2003, but you shouldn't have any problems following along with it. PLUS, when Access Developer 2 is released, you'll get a FREE copy.
 

You may want to read these articles from the 599CD News:

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP