How to Create Composite Primary Key MS Access
- George Apostolov
How to Create Composite Primary Key MS Access: step-by-step guide
Open your database in MS Access.
Locate the table where you want to create the composite primary key. Right-click the table in the 'Navigation Pane and select 'Design View'.
Identify the fields that will form the primary key and click on the 'Row Selectors' next to each field name.
After selecting the fields, click the 'Primary Key' button in the 'Table Design' tools ribbon.
The selected fields will now have a key icon next to them.
The composite primary key is now set. Click the save icon to save your changes.
Quick answer: To create a composite primary key in MS Access, open your database and switch the desired table to Design View. Select the target fields using their row selectors, then click the Primary Key button in the Table Design ribbon. Finally, verify the key icons appear and save your changes.
About this tutorial
Establish a composite primary key in the app by selecting multiple fields in Design View and applying the key tool from the ribbon. This guide shows how to create Composite Primary Key MS Access in 6 steps, starting with "Open your database in MS Access" and finishing with "The composite primary key is now set. Click the save icon to save your changes". The interactive demo above is a click-through copy of the real product interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to create Composite Primary Key MS Access?
6 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your data or settings. Once you know the flow, repeat it in your own workspace.
Create your first interactive demo in minutes
No credit card required • Start building today





