Access 2007-2016
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 Developer 5

Next: Access Developer 7 >

Access Developer Level 6

Developer-Level Microsoft Access Tutorial - 1 Hour, 38 Minutes
 
 
Access Developer 6 continues our focus on learning how to program the Visual Basic for Applications programming language (VBA) in Microsoft Access. Topics include:
 
access cd   - Converting Macros to VBA Code
  - Quote or Invoice Button & Report
  -
Enhanced Timer Form

  - One Second Timer with Countdown
  - OnTimer and TimerInterval
  - Cascading Combo Boxes
  - Select Category, Limit Product Selection
  - Automated Backups
  - Backup Specific Tables, Entire Database
  -
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 6
Versions: Recorded with Access 2016. Most of the material should work with all versions of Access from 2003 on.
Pre-Requisites: Access Developer Level 5 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, 38 Minutes
Cost: $35.99


This class continues our look at programming in Visual Basic for Applications in Microsoft Access (VBA, or Access VB). We will begin by learning how to convert the macros we built in the Advanced classes into VBA code. We will learn some additional VBA commands, and some new programming techniques.

 

Next we'll build an Enhanced Timer Form. We briefly learned how to use the Timer event in the Expert classes to download updated weather information from a web site. In today's class we'll expand on that Timer to learn how to create a clock that ticks every second, and launch events in VBA at specified intervals, such as "run this report every 60 minutes," or "send the sales reps an updated sales report every day."

 

We covered Cascading Combo Boxes briefly in some of our free Tips and Tricks lessons and seminars, but we haven't spent much time with them in an actual class. So in today's lesson we will see how to use them to pick a Product Category, and then see a second combo box that shows just the products from that category. This is handy if you have thousands of products to choose from. You can also use this technique to pick a state, for example, and see just cities from that state. The options are endless.

 

Finally, we will go over a fan-favorite: how to backup your database. I'm going to show you two different methods. The first is to backup just specific objects from your database - your customer and order tables, for example. The second method will show you how to backup the entire Access database file from within Access itself.

 

This is the 6th 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 6

00. Intro (4:36)

01. Converting Macros to VBA (29:41)
Quotation or Invoice in Report
Examine old Macro from Advanced 2
Label.Caption Property
Detail_Format Section
Report Detail Build Event
TRUE assumed in IF statements
VB Editor Auto Capitalization
vbRed, vbBlue
ForeColor Property
Quote or Invoice Toggle Button
Global Module for IsQuotationCode
Enabled, Locked Properties
IsPaid Password Code to VBA
Convert Macros to VBA

02. Enhanced Timer Form (16:35)
OnTimer Event
Timer Interval
One Second Ticks
Me.TimerInterval
IsPaused Checkbox
Checkbox to Control Events Firing
Specifying Timer Interval Text Box
03. Cascading Combo Boxes (9:47)
Dynamic Combo Boxes
Control Wizard Not Starting
Product Category SQL Rowsource
Select Category, Products Filtered

04. Automated Backups (34:26)
Trusted Locations
Backing Up Critical Tables
You Should Have Separate Backup
Use This to Backup Critical Data
DoCmd.TransferDatabase
Backup With Timestamp
Current Date Time Field
Last Run Field
Run Every X Minutes or Hours
86400 Seconds
FileCopy Permission Denied
CopyFileA Windows API
Replace Function

05. Review (3:44)

 


 
Keywords: Access VBA, Visual Basic for Applications, microsoft access tutorial, microsoft access tutorial, microsoft access training, macros to vba, timer form, cascading combo boxes, automated backups
 
 

Student Interaction: Microsoft Access Developer 6

Richard on 2/22/2018:  Microsoft Access TutorialsAccess Developer 6 continues 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: - Converting Macros to VBA Code - Quote or Invoice Button & Report - Enhanced Timer Form - One Second Timer with Countdown - OnTimer and TimerInterval - Cascading Combo Boxes - Select Category, Limit Product Selection - Automated Backups - Backup Specific Tables, Entire Database - Lots more Click here for more information on Access Developer 6, 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 Developer Level 5. The next class in the series is Developer 7.
Brandon J on 3/19/2018: Hello sir,

I would love a seminar or additional lessons on advanced file backup techniques.

Thank you sir.

Reply from Alex Hedley:

Backing up a file is as easy as a copy/paste.
This can be scheduled with a task or a manual job, a reminder in Outlook etc.
Are you wanting ways to do this with a vbs or a bat file?

 

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