Others

How to Link Multiple Subforms by Applicant and Course in Access

Rana GarciaRana Garcia Oct 29, 2026 868 views

Question details

The user needs to synchronize multiple linked subforms within a single Microsoft Access parent form, specifically displaying courses for an applicant and details for a selected course.

How to Link Multiple Subforms by Applicant and Course in Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Creating a tiered database form structure where a parent form filters a first subform, which in turn filters a second subform.
Observed behavior
The goal state is to maintain accurate data synchronization across all nested subforms through their key fields when navigating between applicant and course records.
Before you start

Ensure that your database tables for Applicants, Courses, and Course Details have correctly defined primary and foreign keys before setting up the form links.

Solution 1Recommended

Link Subforms using Parameters and the Current Event

This is the most efficient method, linking the second subform directly to the first subform's primary key and using VBA to trigger a requery.

By linking the first subform natively to the parent form and parameterizing the second subform based on the first, you can create a seamless drill-down experience. This avoids the performance lag associated with referencing hidden, unbound text boxes on the parent form.

1
Link the first subform to the parent form

Open your main form in Design View. Select the first subform (Courses), open the Property Sheet, and set the 'Link Master Fields' and 'Link Child Fields' properties to the matching Applicant ID.

2
Modify the second subform's record source

Select the second subform (Course Details) and adjust its RecordSource query. Set the criteria for its foreign key to reference the primary key of the first subform as a parameter.

3
Add VBA to the Current event

Open the first subform in Design View and access its VBA module. In the 'On Current' event, add code to requery the second subform. For example: `Parent!SecondSubformName.Form.Requery`.

Link Subforms using Parameters and the Current Event
Performance Tip: Avoid using a hidden, unbound text box on the parent form to link the subforms, as this can significantly slow down database performance compared to direct form referencing.
Free Microsoft Office alternative

Need a Lightweight Office Suite? Try WPS Office

While WPS Office does not offer a direct database alternative to Microsoft Access, it is an exceptional, free alternative for Word, Excel, and PowerPoint. If you are looking to save on licensing costs for your general office documentation, data analysis, and presentations, WPS Office provides full compatibility with Microsoft file formats in a single, user-friendly application.

  1. 1. Download the software: Visit the official WPS Office website to download the free, lightweight installer.
  2. 2. Install WPS Office: Follow the straightforward on-screen instructions to set up the software on your computer.
  3. 3. Open existing files: Double-click your existing Word, Excel, or PowerPoint files to open and edit them seamlessly in WPS Office.
Free to use for everyday office tasks and documentation.High compatibility with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with a familiar, tabbed interface.Seamless migration of your existing office files.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my second Access subform not updating when I click a record in the first subform?

This usually happens because the second subform needs to be explicitly told to refresh its data. You must add a Requery command (e.g., `Me.Parent!Subform2.Form.Requery`) in the 'On Current' event of the first subform so it updates whenever the selected record changes.

Can I use an unbound text box to link two subforms in Access?

Yes, you can place a hidden, unbound text box on the parent form that pulls the ID from the first subform, and link the second subform's LinkMasterFields to that text box. However, this method is known to cause slower database performance compared to directly querying the subform's key.

What are LinkMasterFields and LinkChildFields in Microsoft Access?

These are form properties used to synchronize a parent form and a subform. 'LinkMasterFields' refers to the key field on the main form, and 'LinkChildFields' refers to the matching foreign key field on the subform, ensuring only related records are displayed.