How to Set Up Nested Access Subforms with Lookup Combo Boxes
Question details
The user needs to correctly configure nested subforms (School, Sports, Deliverables) and functional lookup combo boxes in an Access database.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building a relational database form with nested subforms and combo boxes for accurate data entry.
- Observed behavior
- Combo boxes may appear empty due to incorrect source properties, or parent-child records fail to link properly.
Ensure your database tables are properly normalized and that primary key and foreign key relationships are established in the Database Tools relationship window before building your forms.
Configure Parent-Child Subforms and Combo Box Properties
This method details how to link subforms using foreign keys and correctly populate combo boxes using the RowSource property.
To ensure data flows correctly between parent and child forms, you must build the forms separately and embed them. Avoid binding the main form to a multi-table query; bind it only to the primary table.
Bind the main form exclusively to the primary table (e.g., the School table) rather than a query containing multiple tables.
Design the Sports and Deliverables subforms as standalone forms first, then embed them into the main School form using the Subform/Subreport control.
Select the subform control on the main form, open the Property Sheet, and ensure the Link Master Fields and Link Child Fields are correctly set to the respective foreign keys (e.g., SchoolID).
For lookup fields, change the text box to a combo box. Open its Property Sheet, navigate to the Data tab, and enter an SQL statement in the RowSource property (e.g., SELECT SportID, SportName FROM Sports ORDER BY SportName;). Do not use the RecordSource property for combo boxes.
In the Format tab of the combo box, set the Column Count to 2, and adjust Column Widths (e.g., 0cm; 3cm) to hide the ID column and display only the readable text.

Need a Lightweight Alternative to Microsoft Office?
While Microsoft Access is used for complex database management, many users find that standard data tracking and analysis can be handled efficiently with powerful spreadsheets. WPS Office provides a comprehensive, free suite that includes Writer, Presentation, and Spreadsheets, offering excellent compatibility with Microsoft Office files.
- 1. Download the software: Visit the official WPS Office website to download the free installer.
- 2. Install the suite: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Open and edit files: Launch WPS Spreadsheets to seamlessly open your existing .xlsx files and manage your data.

Frequently Asked Questions
Why is my Access combo box completely empty when I click the dropdown?
An empty combo box usually means the RowSource property is misconfigured, or you mistakenly used the RecordSource property instead. Ensure you are using RowSource with a valid SQL SELECT statement or a correct table/query name.
How do I hide the ID number in a combo box and only show the text?
In the combo box Property Sheet under the Format tab, set the Column Count to include both the ID and the text field (e.g., 2). Then, set the Column Widths to '0'; this hides the first column (the ID) and displays only the second column.
Can I use the Subform Wizard to link nested subforms?
Yes, the Subform Wizard can automatically link master and child fields if your table relationships are properly defined in the Database Tools. However, for complex nested scenarios, manually verifying the Link Master Fields and Link Child Fields in the Property Sheet is highly recommended.




