
Originally Posted by
capjlp
Hi Folks
I need to create a duplicate query and I can't seem to get the wizard to do what i want.
I have one table that have monthly usage data in it and its imported data from other sources. I have had issues with data being duplicated. It has several fields but I only want to look at 4 to determine if they are duplicates.
I need to look at these four fields I Put a short description.
orgcode - Organization Code
accountid - The id of the account These 2 fields are my key's some orgs may have the same ccount id but one org will never have a duplicate.
I am looking for duplicates in these two fields
BillingDate - Month and Year of bill example Nov-14
Usage - The usage for the month - example 1000
I want to see a duplicate if I have a return that looks like this.
ORG1, 1234, Nov-14, 1000
ORG1, 1234, Nov-14, 1000
That would tell me its most likely a duplicate. I can have something like this
ORG1, 1234, Nov-14, 1000
ORG1, 1234, Nov-14, 800
That wouldn't be a duplicate. Does that make since? I just need to display it and be able to manually delete the duplicate record.
Thank you in advance for the help.