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 6

Next: Access Developer 8 >

Access Developer Level 7

Developer-Level Microsoft Access Tutorial - 1 Hour, 12 Minutes
 
 
Access Developer 7 continues our focus on learning how to program the Visual Basic for Applications programming language (VBA) in Microsoft Access. Topics include:
 
access cd   - Partial Payments on Invoices
  - Refreshing Subforms in VBA
  -
Form ! Subform Notation

  - vbExclamation, vbCritical
  - Don't Allow Payments if PAID
  - NZ Function to Handle Null Payments
  - Hide Fields on Invoice by Criteria
  - Can Shrink Issue for Hidden Fields
  - Adding Missing Fields to Subforms
  -
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 7
Versions: Recorded with Access 2016. Most of the material should work with all versions of Access from 2003 on.
Pre-Requisites: Access Developer 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, 12 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 focus primarily on adding partial payments to invoices. If you have a situation where invoices are not paid all at once, this will be of particular interest to you. However, even if this is not the way your business operates, you will still find the techniques taught in today's class to be valuable. We will start by creating tables for our data: PaymentT, PaymentMethodT, and a form to view payments, PaymentF. We'll review form footer totals and the SUM function, the DSUM function, popup and modal forms. We'll learn how to refresh a subform in VBA, and how to refer to a field on a subform with Forms!FName!Subform.Form!Field notation.

 

Next we'll learn about different MsgBox options, including vbExclamation, vbCritical, and vbInformation. We'll make it so that a user can't add a payment if the invoice is already PAID, or if it's only a Quotation. We'll add the payment information to the printable invoice, so the user can see the total amount paid and the amount due. We'll use the NZ function to handle a situation where there are no payments (zero, instead of a Null value).

 

We'll add a horizontal line to our totals area, and we'll see how we can hide that line in addition to the Payments Made field and label if there are no payments. We'll learn how to work with the Build Event of the Report Footer Section. We'll see that there is a problem with the Can Shrink property when it comes to invisible fields and labels, and we'll see how to work around it. We'll learn how to deal with duplicate field names in queries, and what to do when a reference in a formula could refer to more than one field.

 

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

00. Intro (3:24)

01. Partial Payments 1 (30:54)
Create PaymentT
Create PaymentMethodT
Create PaymentF
SUM in Form Footer PaymentTotal
DSUM Payment Total
Popup, Modal Forms
Refresh Subforms
Forms!FName!Subform.Form!Field Notation

02. Partial Payments 2 (13:36)
vbExclamation
vbCritical
vbInformation
Don't allow Payment if PAID
Don't allow Payment if QUOTATION
Add Payments to Invoice Report
If No Payments, Handle NULL Value
NZ Function
03. Partial Payments 3 (22:29)
Add Horizontal Line over Payments
Hide Payments, Due if Null or Zero
CTRL-Y to Delete Line of Code
Visible Property
Section Header Build Event Code
Can Grow, Can Shrink for Section Header
Can Grow, Can Shrink for Text Boxes
Labels Don't Shrink
IsQuotation Not In Subform
Duplicate Fields in Both Tables
Specified Field Could Refer
Refer To More Than One Table
Add IsQuotation to OrderDetailQ


04. Review (2:35)

 


 
Keywords: Access VBA, Visual Basic for Applications, microsoft access tutorial, microsoft access tutorial, microsoft access training, partial payments on invoices, refresh subforms, form subform notation, NZ function, can grow, can shrink
 
 

Student Interaction: Microsoft Access Developer 7

Richard on 3/23/2018:  Microsoft Access TutorialsAccess Developer 7 continues our in-depth study of Visual Basic for Applications programming with Microsoft Access (Access VBA). This course will begin our coverage of partial payments on invoices. 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: - Partial Payments on Invoices - Refreshing Subforms in VBA - Form ! Subform Notation - vbExclamation, vbCritical - Don't Allow Payments if PAID - NZ Function to Handle Null Payments - Hide Fields on Invoice by Criteria - Can Shrink Issue for Hidden Fields - Adding Missing Fields to Subforms - Lots more Click here for more information on Access Developer 7, 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 6. NOTE: The next class in the series, Access Developer Level 8 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 308 class. Yes, this class is for Access 2003, but you shouldn't have any problems following along with it. PLUS, when Access Developer 8 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