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 
Validation Error for Email
Kent Jamison 
    
4 years ago
I keep receiving validation errors in one of my forms for new customers for email addresses. (I copied the Microsoft (MS) Validation script from the MS website and put it in the table properties for each of my email addresses. However, in this case, thee two fields causing the validation errors ARE NOT EVEN USED IN MY FORM! The two email fields causing the errors are also not in the form's underlying query (the form's record source).  
The only way I can add new records via this form is by deleting the validation rules for the two fields NOT/NOT used in the form.  Meanwhile, ironically, the same exact rule works for the email addresses that ARE/ARE in my form.  
What's going on?  Is this a known bug with Access?  
The MS validation rule for all my email address fields is off the MS website, which is:
Is Null Or ((Like "*?@?*.?*") And (Not Like "*[ ,;]*"))
Please advise.  
-Kent Jamison
Richard Rost  @Reply  
          
4 years ago
I don't recommend using validation rules for email addresses. See Validate Email.

Kent Jamison OP  @Reply  
    
4 years ago
Wait. I'm confused.  I thought you said you should use validation rules for email addresses, which videos I have followed, and use not input masks which I'm not using, per the video you've cited.  Pls elaborate.
Richard Rost  @Reply  
          
4 years ago
Sorry, Kent. That was an early morning "before coffee" brain fart. I was thinking about input masks. You are correct to use validation rules for email addresses. I wouldn't use that simple validation rule, though. Use the custom function from the extended cut.

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 4:33:50 AM. PLT: 2s