Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Tips & Tricks

New Tips Added Weekly!
Click here to get on our Mailing List

   
 

Microsoft Access AfterUpdate Events

Change Values, Run Events, Do 'Stuff' when a Field is Changed

Q: I have two fields on my form (HourlyRate and HoursWorked) and I need to calculate a billable service charge by multiplying them together and placing that value in a 3rd field (ServiceCharge). I need to be able to also just type in a ServiceCharge value or adjust it, so I can't just use a calculated field in a query. How can I do this?

A: You can use an AfterUpdate Event in both the HourlyRate and HoursWorked fields so that when they're changed, the ServiceCharge is automatically calculated. You can do this with a very simple one line of VBA code, as long as you know where to put it.

 

Here is a FREE VIDEO TUTORIAL that will walk you through an example of building an AfterUpdate Event. It's much easier to show you how it's done than to explain it here.

I teach the concepts in this free mini tutorial in my Access 303 course. These are full courses - over 60 minutes in length each. I spend a lot more time going over how to do this, in addition to lots more tips and tricks.

 


By Richard Rost   Richard Rost on LinkedIn Email Richard Rost
Click here to sign up for more FREE tips

 

 

 

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 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/26/2025 3:09:26 PM. PLT: 0s