Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Form Validation with VBA
Greg 
    
16 years ago
Richard, just a question about your solution to this problem.  If the user moves to a new record, and then moves back to the previous record, won't the OnCurrent event fire and re-enable the 3 fields, so that then the user could put data into another of the fields?  What about checking in BeforeUpdate that the other two fields are null, or not allowing the user to enter the data if one of the other two has data?  Don't know about YOUR users, buy mine will do just about anything they can to screw up my databases.


Reply from Richard Rost:

I guess it all depends on how your database is set up and how you want it to work. If you want the user to HAVE to put something in Combo1 before they can use Combo2 and Combo3, then you could use the OnCurrent event (when the form loads) to DISABLE 2 and 3, and ENABLE just 1. Then in the AfterUpdate for 1, enable 2, and so on. This is really more of a usability question than a technical question. You have to decide how you want your database to function.

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: 8/30/2026 5:15:08 AM. PLT: 1s