This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Access

How to Create Composite Primary Key MS Access

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to set up a composite primary key in MS Access.

Quick summary

A composite primary key in MS Access uniquely identifies records using two or more fields, enforcing data integrity across relational tables. This guide walks through every step to create a composite primary key using Access's Table Design View.


Steps

  1. Open your database in MS Access.
  2. Locate the target table in the Navigation Pane, right-click it, and select Design View.
  3. Identify the fields that will form the composite primary key and click the Row Selectors next to each field name to select them.
  4. With the fields selected, click the Primary Key button in the Table Design tools ribbon.
  5. Confirm that a key icon appears next to each selected field, indicating they are part of the composite key.
  6. Click the save icon to save your changes and finalize the composite primary key.

📌 Why this matters

A composite primary key is essential in relational database design when no single field can uniquely identify a record on its own. In MS Access, correctly setting a composite primary key prevents duplicate entries, enforces referential integrity, and ensures accurate data relationships across linked tables. Understanding how to configure this directly in Table Design View gives database administrators and developers precise control over their schema without needing SQL scripting. This makes MS Access a practical tool for building structured, reliable databases even without a dedicated DBA.
Your product deserves an interactive demo
Start free
Similar Articles
MS Access

How to Integrate a Microsoft Excel Database with Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Access

How to Integrate Google Calendar with an MS Access Database

Madhav Bhandari
Director of Marketing @ Storylane
MS Access

How to Integrate Google Sheets with an MS Access Database

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it