2 days ago: New Feature: you can now upload your Profile Picture to the site. Check it out!  Dismiss
 
Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
 
 

< 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: This class was recorded with Microsoft Access 2016. The material is valid for Access 2007 up to 2021. Access has not changed that much over the years.
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: $39.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
 
 

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/19/2024 5:04:50 AM. PLT: 0s