How to Fix Microsoft Access Subform Not Updating Automatically
Question details
The user needs to resolve an issue where a Microsoft Access subform fails to refresh automatically when the data on the main form is changed.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Working with connected main forms and subforms in a relational database application.
- Observed behavior
- The subform does not update or refresh automatically when values change on the main form, typically due to misconfigured master and child link fields.
Ensure you have design-view access to your Microsoft Access database and verify the primary key and foreign key field names used in the underlying tables for both your main form and subform.
Verify Link Master Fields and Link Child Fields Properties
The most common reason for a subform failing to update is a mismatch or missing configuration in the form's link properties.
For a subform to update automatically when navigating through main form records, Access relies on a designated relationship between the two forms. This is managed by the Link Master Fields and Link Child Fields properties.
Right-click your main form in the Access navigation pane and select 'Design View'.
Click once on the outer edge of the subform to select the subform control itself. Ensure you do not click inside the actual subform.
Press the 'F4' key or click 'Property Sheet' on the Form Design tab in the ribbon.
In the Property Sheet, click on the 'Data' tab and locate the 'Link Master Fields' and 'Link Child Fields' properties.
Ensure the Master field uses the correct primary key from the main form (e.g., ID as an AutoNumber), and the Child field uses the matching foreign-key field (e.g., Asset-Type-ID as a Number) with a compatible data type.
Add a Requery Action using VBA
If the fields are linked correctly but the subform data lags after a dropdown or combo box selection on the main form, force a refresh manually.
Looking for a Lightweight and Free Office Suite?
While WPS Office does not include a direct database program like Microsoft Access, it offers a robust, free, and highly compatible suite for all your document, spreadsheet, and presentation needs. It is an excellent lightweight alternative for your daily office tasks.
- 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the on-screen instructions to complete the lightweight installation.
- 3. Open Your Office Files: Launch WPS Office and easily open your existing Microsoft Word, Excel, and PowerPoint files with perfect formatting.

Frequently Asked Questions
Can a mismatch in data types cause subform link errors?
Yes, the primary key in the main form and the foreign key in the subform must have compatible data types. For example, an AutoNumber primary key in the main form must link to a Number (Long Integer) foreign key in the subform.
Why does my subform show blank records instead of related data?
This usually happens when the Data Entry property of the subform is set to 'Yes'. This setting forces the form to only accept new records rather than displaying existing linked records. Change this property to 'No' in the Data tab of the Property Sheet.
How do I test if my subform is linking correctly?
You can manually test the subform by opening it independently of the main form. If it works fine alone but fails when embedded, the issue almost certainly lies in the Link Master and Link Child field configurations on the main form.




