Hi,
I would recommend writing a small program that would display an error message such as "Duplicate Record found in System" if a duplicate record was found in the system. This would help to alert the user that a duplicate record was found and help to prevent any further errors.
Looking forward to your response.
Best regards,
Aliather.