
December 14th, 2003, 04:28 PM
|
|
Junior Member
|
|
Join Date: Aug 2002
Posts: 3
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.
|