Home > Articles > Data > Access

  • Print
  • + Share This
This chapter is from the book

Examining Indexes and Relationships

The field that joins two tables on the one side of a one-to-many relationship must be a primary key field or must have a unique index so that the Access Database Engine can maintain referential integrity. If the index on the one side of the relationship is not unique, there is no way to determine to which parent a child record belongs.

In Access 2007, you do not need to create an index for the field on the many side of the relationship. Access 2007 will create an internal index for you. If you do create an index on the many side of the relationship, make sure that you set the index to Yes (Duplicates OK); otherwise, you will have a one-to-one, rather than a one-to-many, relationship.

  • + Share This
  • 🔖 Save To Your Account