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 Developer 3

Next: Access Developer 5 >

Access Developer Level 4

Developer-Level Microsoft Access Tutorial - 1 Hour, 35 Minutes
 
 
Access Developer 4 continues our focus on learning how to program the Visual Basic for Applications programming language (VBA) in Microsoft Access. Topics include:
 
access cd   - Notes on Order Details
  - DLOOKUP from Product Table
  -
Change Size of Field in OnGotFocus

  - Constants, Const Keyword
  - OnDblClick Event
  - Sales Commissions by Order Amt
  - Commission Range Brackets
  - DMAX and DLOOKUP together
  - Use SQL to Load Order List
  -
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 4
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 3 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, 35 Minutes
Cost: $40.99


This class continues our look at programming in Visual Basic for Applications in Microsoft Access (VBA, or Access VB). We will begin by adding notes (long text) to our order details. We can have notes for the order as a whole, but not for each line item. This information is stored in the product table. We will use DLOOKUP to pull it when we add the item to the order, and allow the user to edit it.

access

 

We will learn how to use the OnDblClick (on double click) to allow the user to make the field larger to see and edit the notes better. We'll modify the object's height and width properties. We will learn about variable scope - how certain variables only work inside a particular procedure, but others can work over an entire form as long as it's open.

ondblclick

 

We will then add these notes to the printed invoice as well.

invoice quotation notes

 

Next we will go back and work on our employee commissions form. Before we just had it so that the manager could type in an employee, a date, an amount, and log some commission. Now we will actually tie those commissions into the order system, so that you select an employee from a combo box, pick an order, and then the system will automatically calculate the commission amount and then track which orders have had the commissions paid.

We will start by setting up brackets for each employee so that the commission rate can be variable based on the amount of each order. So, for example, if employee 3 has an order that's $90 then she gets paid a 3% commission. However, a $350 order will get a 4% commission.

variable rate commissions

 

Then, we'll make it so that on the commissions form, you select an employee, then a list of their unpaid (commissions) orders will show up. Click an order and the data is all automatically calculated. Click the LOG button to save the info in the commissions table, and the list updates.

unpaid commissions

 

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

00. Intro (3:09)

01. Add Notes to Order Details (22:15)
DLOOKUP Long Text Memo
Notes Field in OrderDetailT
Add to OrderDetailF
Make Size Change in OnGotFocus
Height, Width Properties
Change Detail Section Height
Variable Scope - Sub vs Form
Form Scope Variable to hold Height, Width
OnDblClick Event to Grow


02. Commissions by Order Amount 1 (22:33)
Modify CommissionT
Base Commission on Order
Employee Commission Table
Set up Brackets for Commission Ranges
Fix Sales Rep Combo Box
Query to Link Orders, Commissions, Cust
Order Picker Combo Box
03. Commissions by Order Amount 2 (43:50)
Change Order Combo to List Box
SQL Statement to Load List
Limit by Sales Rep
Query Employees w Unpaid Commissions
Limit Employee Combo to Unpaid Only
Lookup Order Total for Selected Order
Look that up in Commission Table
Log to Table with SQL INSERT INTO


04. Review (4:06)

 


 
Keywords: Access VBA, Visual Basic for Applications, microsoft access tutorial, microsoft access tutorial, microsoft access training, dlookup, dmax, notes on order detail, employee commissions based on order amount
 
 

 

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 2:14:51 AM. PLT: 0s