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 
Prevent Duplicate Text on Multiple Fields
Amit Bauml 
   
14 years ago
Hi all,

I loved the Tip on "Prevent Duplicate Values on Multiple Fields". I downloaded the example file and tried it out. The example file works great with number data type fields, but soon as I change the Data Type of the fields to text, the code stops working.
I'm looking for a way to Prevent Duplicate text on Multiple Fields. Let say that I have a Person ID column, first mane column and last name column. The Person ID is an auto number, and first and last manes are text. I would like to prevent entering the same person twice (in two different records). It's OK to have few persons with the same first or last mane but not both.
I as Richard mentioned, it is possible doing it with multiple key fields with duplicates OK, but with the example file from Richard tip, it is easy to create message box the indicate what's wrong.    

Many thanks,

Amit Bauml

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/12/2026 4:06:15 PM. PLT: 1s