Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
Home > Help > TechHelp > Directory > Access > On Current < Input Masks Variable | Primary Customer >
 
On Current Event
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   12 months ago

Learn the On Current Event in Microsoft Access


 S  M  L  XL  FS  Join Now

In this Microsoft Access TechHelp tutorial, I will show you how to run VBA code when the user opens a form and moves from record to record. This is handy if you are doing things like changing the visibility or colors of different fields based on user input.

David asks: "In my form, I have certain fields that are made not visible based on the user’s input in other fields. For example, if the customer is not active, I can hide his Credit Limit. I used an After Update event for this. However, when I open the form or move from record to record, the Credit Limit field is still visible. How do I hide this field based on the current customer’s existing value?"

Members

I'll show you how to make custom subroutines (so you don't have to have the same VB code twice in your form), changing the color of fields and the background color of the form, using the MsgBox function to return a value (yes or no), setting the customer's credit limit to $0 if they become inactive, changing a check box into a Toggle Button, and setting its caption and color properties too! Lots more for members!

Silver Members and up get access to an Extended Cut of this video. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to contact me so I can set up your account here on my web site. If you're not a member, Join Today!

Links

After Update: https://599cd.com/AfterUpdate

Learn More

FREE Access Beginner Level 1
Access Level 2 for $1.00

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates

Resources

Mailing List - Get Emails When New Videos Released!
Consulting - Need Help with Your Database?

Questions?

Please feel free to post your questions or comments below or submit them via the TechHelp page.

 

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

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

7/25/2021Missing Months
7/24/2021Center Vertically
7/23/2021DCount
7/22/2021Buy Access
7/21/202164-Bit Access
7/20/2021Relationships
7/18/2021Splash Screen
7/11/2021Access Developer 30
7/11/2021Access Developer 31
7/11/2021Access Developer 31 Lessons
 

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
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
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
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: TechHelp Access OnCurrent Event  PermaLink