Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 11th, 2003, 04:17 PM
kj0002i kj0002i is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 kj0002i User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access

Hi,

I am having the hardest time setting up a table with an index that will allow duplicates in that column. It keeps telling me to "redefine index to permit duplicate"--which I have not clue how to do that.

Reply With Quote
  #2  
Old December 14th, 2003, 04:28 PM
Acidic Acidic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 3 Acidic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have Access 2002 and this is how I changed the primary key to allow duplicates.

Just open the database with Access, right-click whatever table > design view, then go to the indexed field and click in it.

right-click your field (there should be a little key icon beside it) and click primary key to get rid of it. You can't edit it while its a primary key.

Now, just reassign it the key as an index BUT one that allows duplicates, to do so to the following::
in the bottom field properties there's two tabs, "general" and "lookup".

Make sure its on the general tab and at the VERY bottom they'll be an 'indexed' label, beside that is a drop down column with:
No
Yes (Duplicates OK)
Yes (No Duplicates)

Select the Duplicates OK one and you should be golden.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT