How to Fix Microsoft Access Error 2580 When Filtering a Subform
Question details
The user is encountering Error 2580 in Microsoft Access while attempting to filter data within 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.
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.
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.
Open your Microsoft Access database. Right-click the main form in the Navigation Pane and select 'Design View'.
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.
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.
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.
Click the 'Save' icon, then switch back to 'Form View'. Try applying your filter to the subform again to ensure the error is resolved.

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. Download the Installer: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen instructions to set up the suite.
- 3. Open Your Files: Launch WPS Office and instantly open your existing Microsoft Office files without losing any formatting.

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.




