Click the field that is going to be the Primary Key.
Click the Primary Key toolbar button.
To set a field as the primary key, select the field by clicking the row selector. Click the Primary Key toolbar button to set the field as the primary key. You can identify the primary key field by the key icon.