Set or change the primary key
- Open your table in the Table Design Window
- Select the Fields tab
- Identify the field(s) or insert new field(s) that must
be part of the primary key
- Click
Primary
Key button
- Click
Save
or
Save As from the toolbar when you are ready to save the
table
NOTE: All the fields
that must be part of the primary key may not allow Null values
Remove the primary key
- Open your table in the Table Design Window
- Select the Fields tab
- Identify the field(s) that is part of the primary key
- Click
Primary Key button
- Click
Save or
Save As from the toolbar when you are ready to save the
table
Create an index to find and sort records faster
You can index a single field or a combination of fields so
that you sort and find records more quickly.
Create a single-field index
- Open the table in Design View
- Select the Indexes tab
- To add a new index definition, click
Add
Index from the toolbar
- In the Index Name column enter the name of the index
- Double-click on the Field(s) Name grid
- To add a field for the index, enter the field name to
the grid
- Click
Save or
Save As from the toolbar when you are ready to save the
table
Create a multiple-field index
- Open the table in Design View
- Select the Indexes tab
- To add a new index definition, click
Add
Index from the toolbar
- In the Index Name column enter the name of the index
- Double-click on the Field(s) Name grid
- To add fields for the index, enter the fields name to
the grid.
- Click
Save or
Save As from the toolbar when you are ready to save the
table
Delete an index
- Open the table in Design View
- Select the Indexes tab
- Select the index you want to delete and click
Delete
Index from the toolbar
- Click
Save or
Save As from the toolbar when you are ready to save the
table
Prevent duplicate values from being entered in a combination
of fields
- Open the table in Design View
- Select the Indexes tab
- To add a new index definition, click
Add Index from the toolbar
- In the Index Name column enter the name of the index
- Double-click on the Field(s) Name grid, add the fields
for the index
- In the Index Type, select Unique
- Click
Save or
Save As from the toolbar when you are ready to save the
table
Prevent duplicate values from being entered into a field
- Open the table in Design View
- Select the Indexes tab
- To add a new index definition, click
Add Index from the toolbar
- In the Index Name column enter the name of the index
- Double-click on the Field(s) Name grid, add a field for
the index
- In the Index Type, select Unique
- Click
Save or
Save As from the toolbar when you are ready to save the
table
|