Others

How to Fix Microsoft Access Error 2580 When Filtering a Subform

Olivia MillerOlivia Miller Oct 29, 2026 869 views

Question details

The user is encountering Error 2580 in Microsoft Access while attempting to filter data within a subform.

How to Fix Microsoft Access Error 2580 When Filtering a Subform
Product
Microsoft Access
Device & OS
not provided
Scenario
Filtering records inside a Microsoft Access subform that has an improperly configured RecordSource.
Observed behavior
Access throws Error 2580 because the subform's RecordSource property is mistakenly referencing the subform control's name rather than the actual underlying data table or query.
Before you start

Ensure you have Design View permissions for the database and verify the exact name of the underlying table or query you intend to use for your subform.

Solution 1Recommended

Update the Subform RecordSource Property

Fix Error 2580 by ensuring the subform's RecordSource points to a valid SQL query or table name instead of the subform control name.

Microsoft Access generates Error 2580 when it is asked to search or filter a data source that doesn't exist. This commonly happens if the RecordSource property of a subform is accidentally set to the name of the subform control itself (e.g., 'dbo_m4_bolts_subform') rather than the underlying data table.

1
Switch to Design View

Open your Microsoft Access database. Right-click the main form in the Navigation Pane and select 'Design View'.

2
Select the Subform Control

Click directly on the edge of the subform control to select it. Make sure you are selecting the subform container, not the form inside it.

3
Open the Property Sheet

If the Property Sheet is not already visible on the right side of your screen, press the 'F4' key or click 'Property Sheet' in the Form Design ribbon.

4
Modify the Record Source

In the Property Sheet, click on the 'Data' tab. Locate the 'Record Source' field and change its value from the subform control name to the exact name of your underlying table or a valid SQL SELECT statement.

5
Save and Verify

Click the 'Save' icon, then switch back to 'Form View'. Try applying your filter to the subform again to ensure the error is resolved.

Update the Subform RecordSource Property
Naming Convention Tip: To prevent this issue in the future, use clear naming conventions. For example, prefix tables with 'tbl_' and subform controls with 'sfrm_' so they are never confused in the properties menu.
Free Microsoft Office alternative

Need a Lightweight Office Suite? Try WPS Office

While Microsoft Access handles complex database management, your everyday productivity relies on documents, spreadsheets, and presentations. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, allowing you to seamlessly manage all your standard office files without expensive subscriptions.

  1. 1. Download the Installer: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen instructions to set up the suite.
  3. 3. Open Your Files: Launch WPS Office and instantly open your existing Microsoft Office files without losing any formatting.
Fully compatible with Microsoft Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) formats.Lightweight installation that runs smoothly even on older or budget devices.Free to use with a familiar, tabbed user interface for instant productivity.Includes a robust built-in PDF toolkit for easy editing and conversion.
microsoft office alternative - wps office

Frequently Asked Questions

What exactly does Microsoft Access Error 2580 mean?

Error 2580 signifies that the record source specified for a form or report is either invalid or does not exist. The application cannot find the referenced table or query to retrieve the necessary data.

How do I find the correct name for my underlying table in Access?

You can view the exact names of all your tables and queries in the Navigation Pane, usually located on the left side of the Access workspace. Use the exact spelling found there for your RecordSource property.

Why does this error only happen when I try to filter the subform?

When a form loads, Access might bypass a strict data source validation if no immediate action is required. However, applying a filter forces Access to actively query the specified RecordSource. If that source is incorrectly pointing to a control name rather than a table, the query fails and triggers Error 2580.