Others

How to Add a Select All Option to Cascading Combo Boxes in Access

Olivia MillerOlivia Miller Nov 3, 2026 868 views

Question details

The user wants to provide a 'Select All' choice in a multi-level cascading combo box form to display all records without filtering a specific level.

How to Add a Select All Option to Cascading Combo Boxes in Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Building a customized database form with progressive, dependent combo box filters (e.g., Country > Region > City).
Observed behavior
The user needs to include a 'Select All' row inside the combo box drop-down or find an alternative way to bypass the filter for a specific tier to show all related records.
Before you start

Ensure your form controls are correctly named and that you are familiar with accessing the Property Sheet to edit the Row Source and Record Source properties using SQL.

Solution 1Recommended

Use a UNION Query for the Combo Box Row Source

This method injects a physical 'Select All' text option into your combo box drop-down list by using a SQL UNION statement.

A standard combo box populated by a table only shows the data within that table. By utilizing a UNION query, you can combine your actual table data with an artificial row containing the value 'Select All'.

1
Open Form Design View

Right-click your targeted form in the Navigation Pane and select 'Design View'. Click on the combo box control you wish to modify.

2
Modify the Row Source

Press F4 to open the Property Sheet. Go to the 'Data' tab, click on 'Row Source', and enter a UNION query. For example: SELECT RegionID, Region, 1 AS SortColumn FROM Regions WHERE CountryID=[Form]![cboFindCountry] UNION SELECT 0, "Select All", 0 FROM Regions ORDER BY SortColumn, Region;

3
Update Form Record Source

Open the form's main Record Source query. Amend the criteria for this specific combo box filter to evaluate '0' as true. For instance, use the condition: WHERE RegionID = [Form]![cboFindRegion] OR [Form]![cboFindRegion] = 0.

Use a UNION Query for the Combo Box Row Source
Sort Column Best Practices: Using a temporary 'SortColumn' in your SQL statement guarantees that 'Select All' appears at the very top of your combo box list.
Free Microsoft Office alternative

Looking for a Free Alternative to Microsoft Office?

While WPS Office does not feature a database application like Microsoft Access, it is an outstanding, lightweight, and free alternative for Word, Excel, and PowerPoint. Enjoy a seamless experience for your everyday document, spreadsheet, and presentation tasks.

Completely free and lightweight office suiteHighly compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in PDF editing and conversion toolsFamiliar tabbed interface for seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't my dependent combo box update when I change the first one?

You need to add a VBA Requery command in the 'After Update' event of your first (parent) combo box. This forces the dependent combo box to refresh its Row Source based on the newly selected value.

Can I add a 'Select All' option without writing SQL?

If your combo box uses a 'Value List' rather than a Table/Query as its Row Source Type, you can manually type 'Select All' into the list. However, for table-driven cascading combo boxes, a UNION query in SQL is required.

Why use '0' for the 'Select All' ID instead of Null?

When using a UNION query, data types must match across the combined datasets. Autonumber Primary Keys in Access are numeric, so using '0' (a number that Autonumber never naturally generates) safely acts as the 'Select All' placeholder identifier.