Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Date automatic update
Rachel Lynn 
    
2 years ago
Evening, I have created an access data base related to training. Within the Form there is a "TrainingTypeCombo" box created (New Hire, Re-fresher, Annual and Retraining). New Hire and Refreshers next training date is 6 months from date completed. Annual training next training date is 1 year from date completed. "DateCompleted" which will default to now(). and I'd like the "NextTrainingDate" to automatically fill. Somehow in the "NextTrainingDate" calculate which type is selected and the "DateCompleted". I've tried VBA in "NextTrainingDate", but I'm not sure of the VBA for dates. I figure it will be a If Else..then or ElseIf...Appreciate your direction.
Richard Rost  @Reply  
           
2 years ago
You'll need an AfterUpdate event to set the dates.
Juan C Rivera  @Reply  
            
2 years ago
Along with the afterupdate use the Dateadd function in case you have several training classes I recomend a table with the training and set up the certification intervals.  Let ssay you have ethecs training every 1 year and defensive driving training every 2 years this will save you haveing to recall the interval.  I set my database up this way.  I can help if you have problem this is what we are here for.

V/r
Juan

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 1:24:03 PM. PLT: 1s