Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
 
 
 
Courses - Microsoft Access 306
Description: Advanced Access
Running Time: 83 minutes
Pre-Requisites: Access 305 very strongly recommended
Previous Lesson: Access 305
Next Lesson: Access 307
Main Topics: Sales Commissions, DMAX, Me.Requery, InputBox, Nested IIF, Passwords, Overtime
Versions: This course is valid for Access 2000 through 2003. If you are using Access 2007 or 2010, you will still benefit from this course. You will find that the concepts are the same, but there are cosmetic differences between the versions.

    

Order before 8/14/2020 to get a FREE upgrade to our Access 2010 version!
Click here for details

 

Access 306 continues our advanced Access database development with VBA programming.

This lesson focuses calculating employee commission rates and pay rates. Sounds easy? Well we will learn about all kinds of new concepts like DMax, Me.Requery, InputBox, nested IIF functions, and much more.

We will calculate an employee's commission paid based on his commission rate using an IIF function:

 

We'll learn how to use DMAX to calculate the commission that he should be paid - based on his sales - according to our commission table.

 

We'll create a form to just show Paid Commissions, Unpaid Commissions, or both. We'll learn the Me.Requery command to refresh the form results when the box is checked or unchecked.

 

We'll create a report we can print out to see all of the commissions our sales reps need to be paid.

 

We'll make a button that we can then click on to mark all of the commissions as PAID, and we'll throw in a little "Are You Sure?" message box prompt.

 

We'll create a button on our Main Menu form with a PASSWORD on it. This way someone has to type in the password in order to open the employee commission form or report.

 

Next we'll work on employee pay rates. We'll learn how to calculate regular and overtime hours, which will let us calculate regular and overtime pay.

 

Lesson Description Time
00 Welcome 3:43
01 Employee Commission Rates based on single rate, based on different rate per employee, based on order amount. Nested IIF Functions. 19:42
02 CommissionLookupT, paying employees commission based on order amount and separate rates for each employee. DMax. Using DMax with DLookup to pull a commission rate based on employee and largest order amount. (Note DMin is same as DMax but looks up the smallest value) 13:18
03 Commission Form. Me.Requery on opening a form (getting no records because underlying query is based on a checkbox on the form). 8:31
04 Commission Report to group commission amounts by employee. Update query to mark all commissions paid and track date paid. Using InputBox to ask for a password when a button is clicked. 18:39
05 Employee PayRateT. Calculating employee pay rates based on employee and dates worked. Another DMax, DLookup example. Calculating regular and overtime hours and total pay rates. 15:23
07 Review 3:05
  Total Running Time: 83 minutes

 


 
 


Try a FREE Demo Lesson

 
 

You may want to read these articles from the 599CD News:

 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
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 The Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed