Every Access table should have a primary key defined. The primary key is the field that contains data unique to that record. Primary keys are often IDs - product IDs, employee IDs, or record IDs. Remember that Access is a relational database - the primary key is the basis for relationships between different tables.
To set the primary key in a table:
Once you establish a field as the primary key, Access automatically sets the duplicates property to no to ensure that each record has a unique primary key. You'll learn more about field properties in the Modifying Field Properties in Design View task. |
|
There are three types of primary keys:
|