How to Fix Missing Record Duplicate Error in Microsoft Access
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.

- 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.
Ensure you have full read and write permissions to the underlying database tables, and save any pending changes to your current form before troubleshooting.
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.
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.
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.
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.

Clear Form Filters and Review Record Sources
Remove any active filters, queries, or VBA code that might be inadvertently hiding the record from the form view.
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. Download and install WPS Office: Get the free suite from the official WPS website and install it on your computer.
- 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. Manage and filter your records: Use the Data tab to apply custom filters, sort columns accurately, and highlight duplicate values easily.

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.




