Example: Finding duplicate entries

This example finds duplicate entries in the Contacts table using First Name & Last Name combinations. In the Companies table you may see how to prevent Company duplicate entries.
Example: Finding duplicate entries Database Illustration

Description

This online database template checks for duplicate entries in the Contacts table using the combination of First and Last Name.

Also, there is the example displaying how to prevent duplicate entries. The Companies table comprises the validation rule that does not allow saving a new record, if a new company name coincides with an existing one.

Here is the trick: create a relation to self, use Match Conditions to select the fields for duplicates finding. Then add a Summary column to calculate # of records (duplicates). When you have more than one, you have duplicates. Check the settings of the Duplicate Contacts relation for details.

To prevent duplicate entries, you should create a validation rule with the condition [Duplicate Count] is greater than 0. Moreover, you have to add the additional Match Condition Id<>Id to the relation. Due to this match condition the system will allow to modify existing records and save changes. The example is adjusted in the Companies table.

To help you make the system work for your needs, we have developed the following service program:

  • Discuss your needs with our staff.
  • We’ll determine and confirm the workflow logic of your database.
  • We’ll create a ready-to-use database to fit your exact business model.
  • You’ll get a solution designed especially for your needs.

Any support materials, such as spreadsheets and real-life work samples would be very helpful as they would help us better understand your business process.

We offer free system configuration assistance
(up to 4 hours of consulting work).

If you decide that our database is not exactly what you need - you owe nothing.
Like what you see? Try Example: Finding duplicate entries Database today!