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 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: 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 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: $41.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
 
 

 

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/28/2024 10:19:07 AM. PLT: 0s