Wrox Programmer Forums
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 27th, 2004, 10:07 AM
Authorized User
Join Date: Aug 2003
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Avoiding Duplicates

I need VB code to prevent the user from entering the same record twice. Any help would be appreciated
Old April 27th, 2004, 10:43 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 126
Thanks: 5
Thanked 0 Times in 0 Posts

You can do this from the table side instead of VB if you want.
In the design view set the "indexed" property of that field to "Yes (No Duplicates)"


The only thing standing between you and your goal is doubt. Quit doubting yourself and you'll be able to accomplish anything!

Similar Threads
Thread Thread Starter Forum Replies Last Post
avoiding duplications josephx XSLT 5 January 5th, 2008 04:29 PM
avoiding a <div> to go under the frame nerssi Javascript 2 April 7th, 2007 07:19 AM
Avoiding Double bookings via 'reserved' status davidosullivan PHP Databases 0 March 30th, 2006 10:44 AM
Avoiding multiple Relationships Marden Lee SQL Language 4 February 16th, 2005 08:30 AM
Avoiding Displaying duplicate data saleaf10 Classic ASP Databases 1 November 26th, 2003 10:16 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.