How to Delete a Hidden Relationship in Microsoft Access
Question details
The user needs to locate and remove hidden relationships or database object dependencies to allow modifications to table field types or sizes.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to change a field type or size in a database table but being blocked by hidden structural constraints.
- Observed behavior
- An Access relationship remains active and enforces referential integrity even when its connecting line is not visible in the relationship viewer, preventing any changes to dependent field properties.
Verify that the tables are local Access tables stored in your current ACCDB file, as relationships can only be modified in the database where the tables are physically located.
Show All Relationships and Delete
Use the Database Tools menu to reveal all hidden relationship lines so you can select and delete the ones blocking your edits.
Often, relationship lines are simply hidden from the default view. Revealing all relationships is the most direct way to find and remove the constraint.
Navigate to the 'Database Tools' tab on the main ribbon and click on 'Relationships'.
In the Relationship Design tab, click on 'All Relationships'. This will display every active connection between your tables, including the previously hidden ones.
Click on the specific relationship line connecting your tables to highlight it, then press the 'Delete' key on your keyboard and confirm the prompt.

Review and Disable Referential Integrity
If you prefer not to delete the relationship entirely, temporarily disabling referential integrity may allow you to make the necessary field adjustments.
Check for Object Dependencies
Dependent queries, forms, reports, or macros can also lock a table and prevent structural changes.
Manage Data Easily with WPS Office
If you do not require complex relational databases like Microsoft Access, WPS Office Spreadsheet provides a free, lightweight, and user-friendly alternative for everyday data management, flat-file databases, and reporting.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
- 2. Open WPS Spreadsheet: Launch WPS Office and open Spreadsheet to start organizing your data.
- 3. Import Data: Easily import your existing CSV or Excel files to manage your records effortlessly.

Frequently Asked Questions
Why does Microsoft Access prevent me from changing a field size?
Access restricts structural changes to a field if it is part of an active relationship enforcing referential integrity, or if other database objects (like queries or forms) depend on that specific field size.
How can I tell if my Access tables are local or linked?
Look at the tables in the Navigation Pane. If a table has a small blue arrow icon next to it, it is a linked table. You can only modify relationships in the source database file where the tables are locally stored.
Can I undo a deleted relationship in Microsoft Access?
Once a relationship is deleted, it cannot be undone using a simple 'Undo' command. You must manually recreate it by opening the Relationships window, clicking and dragging the primary key to the corresponding foreign key, and re-configuring the integrity rules.
What happens when I disable referential integrity?
Disabling referential integrity allows you to add or modify records in a related table without requiring a matching record in the primary table. It also allows you to make structural changes to the fields, though this may lead to orphaned records if you are not careful.




