Errors when open or make a reference to a linked table – Microsoft 365 Apps

Microsoft Technical Article






Troubleshooting Microsoft Access Object Errors

🚀 Overview

In the environment of Microsoft Access administration, maintaining the integrity of object references is critical for database stability. This documentation addresses a common category of errors encountered when an Access database (.accdb or .mdb) fails to resolve references to internal queries or external linked tables. These issues typically manifest when the Microsoft Jet database engine or the Access interface attempts to call an object that is no longer present, has been renamed, or resides at an unreachable file path.

For IT Admins, these errors often surface during the execution of macros, VBA modules, or when users interact with forms and reports that rely on specific RecordSource properties. Understanding the underlying connectivity and naming logic is essential for rapid resolution.

⚠️ Key Technical Details

The following symptoms and error codes define this technical issue:

Primary Error Signatures

  • Jet Engine Fault: The Microsoft Jet database engine cannot find the input table or query '<name>'. Make sure it exists and that its name is spelled correctly.
  • Form/Report Fault: The record source '<name>' specified on this form or report does not exist.
  • Object Resolution Fault (Run-time error ‘7874’): Microsoft Access can't find the object '<name>.' (Specific to Access 2002 through 2010).

🔍 Root Cause Analysis

Technically, these failures occur when the application’s metadata points to a GUID or a string name that the database engine cannot map to a physical or logical object. Common triggers include:

  • Path Divergence: An external back-end database file has been migrated to a different server, directory, or mapped drive, breaking the link.
  • Object Renaming: A table or query was renamed within the database, but references in Lookup tabs, VBA code, or RecordSource properties were not updated to reflect the change.
  • Deletion: The source table or query was removed, leaving “orphan” references in forms, reports, or other tables.
  • Syntax Discrepancies: Manual entry of object names in properties or code contains typographical errors.

⚙️ Resolution & Troubleshooting Steps

Admins should follow these systematic steps to restore database functionality:

  • Verify Object Existence: Search the Navigation Pane to confirm the table or query actually exists. If the object is missing, you must either re-import it from a backup or re-create it. If the object is intentionally gone, remove all references to it in the application’s design view.
  • Audit RecordSource Properties: Open problematic forms or reports in Design View and inspect the RecordSource property. Ensure the name matches the actual table or query name exactly.
  • Validate Syntax: Check for trailing spaces, special characters, or spelling mistakes in the object references within macros and VBA modules.
  • Refresh Linked Tables: If the error involves external data, use the Linked Table Manager to refresh the connection. If the back-end file has moved, use this utility to point to the new UNC path or local directory.
  • Check Lookup Fields: Inspect the Lookup tab in Table Design view for any fields that reference other tables. If a referenced table was renamed or deleted, the lookup field will trigger an error.

🛡️ Impact

When these errors occur, the impact on the business environment is immediate:

  • Application Downtime: Critical forms and reports will fail to initialize, preventing users from viewing or entering data.
  • Execution Failure: Automation via macros or VBA will halt, potentially leaving data in an inconsistent state if the error occurs mid-transaction.
  • Administrative Overhead: IT staff must intervene to relink tables or correct design-time properties, as these issues are rarely resolvable by end-users.

Official Source: Read the full article on Microsoft.com