Jump to content

Find Duplicates finds non duplicate values


Oyseka

This topic is 1663 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All, I am trying to find duplicate records based on two fields so my fine criteria are:

QItemSerial !

Type 1

It is finding duplicates but also finding records that are not. What am I doing wrong. The screen shot below has the records sorted by QItemSerial

Screenshot 2019-09-08 at 12.04.29.png

Link to comment
Share on other sites

The way your find works is this: first, it finds records with duplicate values in the QItemSerial field. Next, it finds records with duplicate values in the Type field. Finally, it returns the intersection of the two sets. So for example, if you had 3 records in a table:

Field A

Field B

A 1
A 2
B 2

your find would return a found set of one record:

A 2

because that's the only record that has a duplicate value in both fields.

If you want to find record that have matching values in both fields, you will need to define a calculation field that combines the two fields, e.g. (result is Text) =

 QItemSerial & "|" & Type

then search for duplicates in this field.

 

Edited by comment
  • Like 2
Link to comment
Share on other sites

This topic is 1663 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.