Others

How to Display Related Data with Microsoft Access Tab Controls

Adam DavisAdam Davis Oct 10, 2026 868 views

Question details

The user needs to display related information from multiple tables on a single form using tab controls and linked subforms.

How to Display Related Data with Microsoft Access Tab Controls
Product
Microsoft Access
Device & OS
not provided
Scenario
Creating an overview form based on a primary record (e.g., a pending-cases table) where individual tabs display specific related information from other data-entry tables.
Observed behavior
Setting up tab pages with embedded subforms linked to the main form, and resolving relationship errors such as 'join key is not in the recordset' during setup.
Before you start

Ensure you have clearly identified the primary key in your main table and the corresponding foreign keys in your related tables before building the forms.

Solution 1Recommended

Create and Link Subforms on Tab Pages

This is the standard and recommended method for organizing related data across multiple tables using a main form and a tab control.

By placing a tab control on your primary form, you can embed multiple subforms, each representing a different related table, without cluttering the interface.

1
Create the main form

Create a new form and bind it to your primary table (e.g., the pending-cases table) using the Record Source property in the Property Sheet.

2
Add a tab control

Open the form in Design View. From the Form Design toolbar, click the Tab Control icon and draw it onto your main form.

3
Insert the subform

Click directly on the specific tab page where you want the related data. Once the tab page is highlighted, use the Subform/Subreport tool to draw a subform inside that page.

4
Link the fields

Bind the new subform to its related table. In the subform's Property Sheet under the Data tab, set the 'Link Master Fields' and 'Link Child Fields' to the compatible key fields that connect the two tables.

Create and Link Subforms on Tab Pages
Subform Placement: Always ensure the tab page is actively selected before drawing the subform. If you accidentally place it on the main form, it will float above the tab control and appear on every tab page.
Free Microsoft Office alternative

Manage Your Data Effectively with WPS Office

While Microsoft Access is designed for complex relational databases, WPS Office offers a free, lightweight, and highly compatible alternative for everyday data management. With WPS Spreadsheet, you can organize data, perform advanced calculations, and create dynamic dashboards without the steep learning curve of traditional database software.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
  2. 2. Open Existing Files: Seamlessly open your existing Excel, Word, and PowerPoint files without losing any formatting.
  3. 3. Manage Data Easily: Use WPS Spreadsheet's advanced filtering and PivotTables to analyze relational data.
Free and lightweight alternative to Microsoft Office.High compatibility with Microsoft Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) formats.Powerful spreadsheet functions, PivotTables, and data validation for comprehensive data organization.Familiar, intuitive user interface for a seamless transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my subform showing up on all tab pages instead of just one?

This happens if the subform was placed on the main form rather than inside a specific tab page. To fix this, cut the subform, click directly on the desired tab page so it becomes highlighted, and paste the subform back in.

Can I link multiple subforms to the same main form using tab controls?

Yes, you can add multiple tab pages to a single tab control and place a different linked subform on each page, provided each subform's underlying table shares a valid relationship with the main form's primary table.

What does 'records cannot be added because the join key is not in the recordset' mean?

This error typically indicates a mismatch in table relationships or data types. You need to open the Relationships window and ensure that the foreign key in the related table exists and has a data type that is fully compatible with the primary key of the main table.

Do I have to use a tab control to display related data in Access?

No, you can place subforms directly on the main form without using a tab control. However, tab controls are highly recommended when dealing with multiple related tables because they help keep the user interface clean, organized, and easy to navigate.