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 11

Next: Access Developer 13 >

Access Developer Level 12

Developer-Level Microsoft Access Tutorial - 1 Hour, 50 Minutes
 
 
Access Developer 12 continues our focus on learning how to program the Visual Basic for Applications programming language (VBA) in Microsoft Access. Topics include:
 
access cd   - Universal Dialog Box, Parts 2 & 3
  - Add OK, Cancel Buttons
  - DoEvents in Timer Loops
  - Global Variables, While Loops
  - Custom Form Positioning
  - Move, Resize Form Windows in VBA
  - Twips, InsideHeight, InsideWidth
  - External String Manager
  - Dynamic Labels on Forms and Reports
  -
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 12
Versions: Recorded with Access 2019. Most of the material should work with all versions of Access from 2003 on.
Pre-Requisites: Access Developer Level 11 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. You should definitely take Developer 9 through 11 if you are planning to build the Test Taker DB.
Running Time: 1 Hour, 50 Minutes
Cost: $36.99 - Members get 50% off. Join now.


This class continues our look at programming in Visual Basic for Applications in Microsoft Access (VBA, or Access VB). We're continuing on with the Test Taker database and the Universal Dialog Box that we started in Developer 9. First, we'll add OK and Cancel buttons to the uDialog and see how we can return a value to the code that called the box. We'll learn about global variables, while loops, and the DoEvents command.

universal dialog box

 

Next we'll study custom form positioning. We'll learn about the different types of form window dimenstions: Height, Width, InsideHeight, InsideWidth, WindowTop, WindowLeft, and so on. We'll learn what Twips are and how they relate to pixels and screen inches. We'll see how to resize and move form windows using the Me.Move and MoveSize commands. We'll use the OnResize event, and see how we can use a timer to check if a form is moved. We'll learn how to center a window on the screen.

move movesize form

 

Moving back to the uDialog box, we'll learn how to resize the individual controls on the form, such as the prompt label. We'll have to use a little math to calculate the dimensions of the form window and the size of the command buttons to move and resize the OK and Cancel buttons correctly, but it can be done.

move resize buttons on form

 

Finally, we'll build an External String Manager. If you have ever had to support multiple copies of a database for different types of users, such as users who speak different languages, then this concept will be perfect for you. Instead of keeping two or more separate front-end forms, or even whole databases, you can use a table to store the strings in them (such as "First Name") and then pull those in based on the language preference of your user. This will be a collection of events, a few support tables, a DLOOKUP or two, and we'll make our own custom GetString function.

multi language database

 

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

 


 
Keywords: Access VBA, Visual Basic for Applications, microsoft access tutorial, microsoft access tutorial, microsoft access training, universal dialog box, external strings manager, form positioning, while loops, DoEvents, return function value twips, insideheight, insidewidth, me.move, movesize
 

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
Change Email
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