Saturday, 10 December 2016

05. Set primary key

Set primary key

IV. Set Primary Key on a Field

Primary Key is a key that can be used to avoid the data redundancyIt can distinguish each record in the table.

You can set Primary Key on a field that you thought this field doesn’t allow redundancy data. For instance, the Employee table has one field that prohibits duplicate data. This field is EmpID. To avoid duplicate data, you have to set Primary Key on this field. 

To do so, you have to follow the steps below:
- Open TblEmployee in design view
- Click EmpID field
- Click Primary Key

Microsoft Access 2010 set primary key

No comments:

Post a Comment