A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Primary Key - Yes (Duplicates OK)



 
 
Thread Tools Display Modes
  #1  
Old August 19th, 2008, 07:13 PM posted to microsoft.public.access.tablesdbdesign
Ben
external usenet poster
 
Posts: 536
Default Primary Key - Yes (Duplicates OK)

I looked at the Northwind database and it has a Primary Key that has the
Indexed property set to Yes (Duplicates OK). How can I allow that on my
database. Everytime I want to change the primary key property to Yes
(Duplicates OK), it gives me an error.
  #2  
Old August 19th, 2008, 07:31 PM posted to microsoft.public.access.tablesdbdesign
TonyT
external usenet poster
 
Posts: 154
Default Primary Key - Yes (Duplicates OK)

Hi Ben,

You can't have a Primary Key with duplicates, it goes against the point of a
primary key, You'll almost certainly find that the duplicate index is on a
compound primary key, whereby 2 fields combined are unique, but either one
independantly can be duplicated.

nope this helps,

TonyT..


"Ben" wrote:

I looked at the Northwind database and it has a Primary Key that has the
Indexed property set to Yes (Duplicates OK). How can I allow that on my
database. Everytime I want to change the primary key property to Yes
(Duplicates OK), it gives me an error.

 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.