dbTalk Databases Forums  

Remove Duplicate Names That Are Not Duplicate Records

comp.databases.ms-access comp.databases.ms-access


Discuss Remove Duplicate Names That Are Not Duplicate Records in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Trish
 
Posts: n/a

Default Remove Duplicate Names That Are Not Duplicate Records - 01-13-2011 , 12:50 PM






Hello...

I have a database where the customer name, address, ID, etc. is
unique, however they can be related to several different tables.

For example: Jane Doe is a customer who belongs to several different
committees.

The problem is when creating labels for multiple committees Jane Doe
shows up multiple times. I have used the delete duplicates function,
however since the name is not really a duplicate I am unable to make
this happen.

I hope this makes sense to someone.

Thanks for your anticipated help.

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: Remove Duplicate Names That Are Not Duplicate Records - 01-13-2011 , 01:40 PM






Trish wrote:

Quote:
Hello...

I have a database where the customer name, address, ID, etc. is
unique, however they can be related to several different tables.

For example: Jane Doe is a customer who belongs to several different
committees.

The problem is when creating labels for multiple committees Jane Doe
shows up multiple times. I have used the delete duplicates function,
however since the name is not really a duplicate I am unable to make
this happen.

I hope this makes sense to someone.

Thanks for your anticipated help.
You might add the word DISTINCT to the SQL statment. Right click in the
query builder, select Properties, and set UniqueValues to True.

You could even make it a Totals query GROUP BY on the name.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.