Primary Keys

A key is a field that serves a specific function within a table. Several types of keys are important, but for now, I want to focus on the primary key. In the next few chapters, I discuss the primary key at length, and you will spend a great deal of time selecting and using primary keys. But I introduce the concept now for three reasons:

  • It exposes you to fields with the AutoNumber data type, thus rounding out our discussion of data types.

  • It hints at what distinguishes Access tables from other tables you've worked with.

  • I want to make sure that you don't get hung up on the primary key concept.

The last objective most concerns me. Early on, new Access users are exposed to primary keys and usually find them confusing. Here's a typical ...

Get Hands-On Microsoft Access: A Practical Guide to Improving Your Access Skills now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.