Others

How to Fix Missing Record Duplicate Error in Microsoft Access

Steve KSteve K Nov 3, 2026 870 views

Question details

The user is encountering a duplicate-value error when attempting to add a new record because the record already exists in the table but is hidden from the form view.

How to Fix a Missing Record Causing a Duplicate Error in Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Adding or viewing records through a form or report in a Microsoft Access database.
Observed behavior
The record appears to be missing from the form or report, but attempting to add it again triggers a duplicate-value error because it already exists in the underlying database table.
Before you start

Ensure you have full read and write permissions to the underlying database tables, and save any pending changes to your current form before troubleshooting.

Solution 1Recommended

Verify Data Directly in the Source Table

Bypass the form or report to check if the record actually exists in the underlying table and correct any sorting or typo errors.

Often, a record is not truly missing but is simply out of sequence due to a typo in a sorting column. Checking the raw table data helps identify these discrepancies without the interference of form filters.

1
Open the source table

Navigate to the Navigation Pane on the left side of Access and double-click the underlying table associated with your form to open it in Datasheet View.

2
Search for the hidden record

Use the search bar at the bottom of the table view or press Ctrl+F to find the specific record that appeared missing in your form.

3
Check for sorting typos

Review the specific columns used for sorting your data. Correct any typos (such as typing a '4' instead of a '1') that might cause the record to appear out of sequence.

Verify Data Directly in the Source Table
Data Sequence Restored: Correcting an erroneous digit in a sorting column will immediately restore the record to its proper sequence in the form.
Free Microsoft Office alternative

Manage Your Data Easily with WPS Spreadsheet

While WPS Office does not include a direct relational database tool like Microsoft Access, WPS Spreadsheet is a highly capable and lightweight alternative for managing, sorting, and analyzing large datasets without the complexities of database forms. It offers full compatibility with Microsoft Excel formats and provides an intuitive interface to prevent missing or duplicate data issues.

  1. 1. Download and install WPS Office: Get the free suite from the official WPS website and install it on your computer.
  2. 2. Open your data in WPS Spreadsheet: Export your Access table to an Excel or CSV file, then open it directly in WPS Spreadsheet.
  3. 3. Manage and filter your records: Use the Data tab to apply custom filters, sort columns accurately, and highlight duplicate values easily.
Seamlessly compatible with Microsoft Excel (.xlsx, .xls) and CSV data export formats.Advanced filtering and sorting features to easily locate missing records or identify duplicates.Free, lightweight, and fast-loading compared to heavy database applications.Familiar user interface that requires zero learning curve for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Access say a duplicate value cannot be inserted?

This error occurs when the underlying table has a primary key or a unique index constraint, and you are trying to enter a new record with a value that already exists in that specific column.

How can I prevent records from unexpectedly hiding in my Access forms?

Ensure that your default form sort orders are correct, avoid applying persistent filters in the form properties unless necessary, and regularly audit your underlying queries and VBA code for hidden filtering commands.

Can an incorrect digit cause a record to disappear in Access?

Yes. If your form displays records sorted by a specific column and a typo is made in that column, the record will be placed out of its expected sequence. This can make the record appear missing when you are browsing the form.