Fix Data Entry in a Microsoft Access Subform
Question details
The user needs to configure a Microsoft Access main form and subform so related records can be entered.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A new Access user is creating a main form and subform linked through related tables.
- Observed behavior
- The user cannot enter data in the subform, and the subform wizard does not show the expected table selection options.
Identify the parent table, the related table, and the fields that link them, such as MemberID. Check whether you can add records directly to the related table or query before troubleshooting the form.
Link the Subform to an Editable Related Record Source
Use this method when the subform cannot accept records or is not linked to the current parent record.
Open Database Tools > Relationships and check that the parent key, such as Members.MemberID, is related to the corresponding foreign-key field in the child table. The fields must have compatible data types.
Open each form in Design View and use the form's Property Sheet > Data > Record Source. Set the main form to the parent table or query and the subform to the related table or an editable query.
In the main form's Design View, select the subform control and open Property Sheet > Data. Set Link Master Fields to the parent key, such as MemberID, and Link Child Fields to the matching field in the subform's record source.
Open the subform in Design View. In its form Property Sheet > Data, set Allow Additions and Allow Edits to Yes. Select each entry control and check that its Control Source is a field in the subform's record source.
Open the main form in Form View, save or select a parent record, and try adding a row in the subform. If entry is still blocked, open the subform's record source directly to check whether it allows additions.

Create or Select a Subform When the Wizard Options Differ
Use this approach if the subform wizard does not offer the expected table selection.
Organize Simple Records in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for an easy transition. WPS Spreadsheets can organize simple lists, but it does not fix Access subforms or replace an Access relational database.

Frequently Asked Questions
Why can't I add a new row to my Access subform?
Check the subform's Property Sheet > Data and make sure Allow Additions is Yes. Also open its table or query directly to see whether the record source permits new records.
Where do I set the link between the main form and subform?
Open the main form in Design View, select the subform control, and open Property Sheet > Data. Set Link Master Fields to the parent key and Link Child Fields to the matching field in the subform's record source.
Why isn't text entered in a subform saved?
Select the text box in Design View and check Property Sheet > Data > Control Source. The control must be bound to a field in an editable record source for its value to be stored.
What if the subform wizard only shows existing forms?
Choose an existing form based on the related table, or create one by selecting the table in the Navigation Pane and choosing Create > Form. Add it to the main form and verify the master and child link fields.
What information should I collect if the subform still doesn't work?
Note the main and subform record sources, the table relationships, the Link Master Fields and Link Child Fields settings, and any error message. Also check whether you can add records directly to the subform's record source.




