Others

How to Reference a Control in a Nested Access Subform Query

Muhammad TalhaMuhammad Talha Nov 13, 2026 869 views

Question details

The user needs the correct Microsoft Access expression syntax for referencing a control located in a subform that is nested inside another subform, for use in query criteria or combo-box row sources.

Product
Microsoft Access
Device & OS
not provided
Scenario
The user is building an Access query criteria or combo-box row source that depends on a control inside a nested subform.
Observed behavior
The reference must include each subform's Form property. The correct pattern is Forms![FormName]![SubformName].Form![SubSubformName].Form![ControlName].
Before you start

Open the Access database and identify the exact names of the main form, the first subform control, the second subform control, and the target control. Confirm that the names in the Navigation Pane match the names used in your expression.

Solution 1Recommended

Use the Full Forms!Form!Subform.Form!SubSubform.Form!Control Syntax

Use this syntax whenever a query criteria or combo-box row source must read a control that sits inside a subform nested within another subform.

Microsoft Access requires the .Form property after each subform control to access the controls inside that subform. If you omit .Form, the reference points to the subform control itself, not to the controls it contains.

1
Open the query in Design View

In Access, open the query that will use the nested control reference, then switch to Design View or open SQL View for the specific query.

2
Place the reference in the criteria or row source

Click the Criteria row under the desired field, or open the combo box Property Sheet and select the Row Source, then type the reference using the pattern Forms![FormName]![SubformName].Form![SubSubformName].Form![ControlName].

3
Replace the placeholder names

Replace FormName, SubformName, SubSubformName, and ControlName with the exact names from your database, keeping the .Form property after each subform control.

4
Run the query or open the form

Run the query or open the form containing the combo box to verify that the nested control value is resolved.

Use exact object names: Use the exact control name as it appears in form design. The structure must be complete, including every subform level and its .Form property.
Free Microsoft Office alternative

Use WPS Office as a Free Alternative for Microsoft Access-Related Office Work

WPS Office does not include a Microsoft Access database module, but it provides a free, lightweight suite for the documents you use around your Access workflow. It opens and saves Microsoft Word, Excel, and PowerPoint formats with a familiar ribbon interface, so you can view and edit related files without an Office 365 subscription.

  1. 1. Download WPS Office: Go to the official WPS Office website and click Download WPS Office Free to install it on your device.
  2. 2. Open your existing Office files: Launch WPS Office and open your .docx, .xlsx, or .pptx files directly; the suite preserves the familiar Microsoft Office layout.
  3. 3. Continue working with familiar tools: Use Writer, Spreadsheet, or Presentation to edit, save, and export files in Microsoft-compatible formats.
Free download for Windows, Mac, Android, and iOSOpens and saves Microsoft Office formats such as .docx, .xlsx, and .pptxFamiliar ribbon interface makes migration from Microsoft Office easyLightweight design uses fewer system resources while you work with spreadsheets and documentsBuilt-in PDF tools and templates help support your Office document tasks
microsoft office alternative - wps office

Frequently Asked Questions

What is the correct syntax for a control in a nested Access subform?

Use Forms![FormName]![SubformName].Form![SubSubformName].Form![ControlName]. The main form comes first, then the first subform control, the .Form property, the second subform control, another .Form property, and the target control.

Why does my Access nested subform reference show #Name? or an invalid expression?

The most common cause is leaving out the .Form property. Access cannot drill into a subform's controls unless you include .Form after each subform control in the reference.

Can I use this nested subform syntax in a combo box row source?

Yes. In the combo box Property Sheet, open the Row Source query and place the Forms![FormName]![SubformName].Form![SubSubformName].Form![ControlName] reference in the criteria or SQL WHERE clause.

Does WPS Office include Microsoft Access?

No. WPS Office does not have a database application equivalent to Microsoft Access. It includes Writer, Spreadsheet, Presentation, and PDF tools.

What can I use instead of Access for simple data tasks in WPS Office?

WPS Spreadsheets can handle many structured data tasks, such as lists, tables, lookups, and reports, and it opens and saves Excel .xlsx files.