A primary key or unique constraint must be defined for table '<0s>' before it can participate in a relationship.

Message Text

A primary key or unique constraint must be defined for table '<0s>' before it can participate in a relationship.

Explanation

In order to create a foreign key relationship, at least one of the two tables must have a primary key or unique constraint defined.

Action

To create the relationship you are attempting to create, first create a primary key for one of the tables.

See Also
Creating and Modifying PRIMARY KEY Constraints Key Object
Creating and Modifying UNIQUE Constraints Primary Key Constraints

 

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.