O'Reilly logo

Microsoft® Office Access™ 2007 Plain & Simple by Curtis D. Frye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting a Primary Key

One aspect of sound table design is to have a field (or group of fields) with a value unique to each row in the table. The fields that have the unique value are called the primary key field(s). Because each row’s primary key field (or fields) contains a unique value, Access can distinguish each row from all of the other rows in the table. Why is that important? Consider what would happen if a store used your phone number to identify you when you called in to place an order. If you change phone numbers and the next person assigned your phone number calls in before you do, the store replaces your information with the new caller’s, potentially wiping out any record you had of doing business with the store.

Assign a Primary Key ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required