Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Unique Records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin Chapple - 29 Dec 2004 06:50 GMT
I have a membership database, maintained by others, which some times
includes duplicated email addresses for reasons that do not concern
me.

I need to extract the email addresses to send broadcast emails to our
members.

I have a routine which extracts the primary email address from the
database, and then appends the secondary email address to make an
email address list table. This is achieved by using queries.

How do I eliminate duplicates in the easiest way?

Thanks,

Robin Chapple
John Vinson - 29 Dec 2004 07:05 GMT
>How do I eliminate duplicates in the easiest way?

View the query's Properties, and set its Unique Values property to
True.

                 John W. Vinson[MVP]
Robin Chapple - 29 Dec 2004 08:51 GMT
My apology. As too often happens I did not explain myself properly.

The routine takes the email address from the member database appends
the alternative address from the member database to make a table that
is both addresses combined.

Now I need to be left with unique addresses in the easiest way.

Thanks,

Robin Chapple

>>How do I eliminate duplicates in the easiest way?
>
>View the query's Properties, and set its Unique Values property to
>True.
>
>                  John W. Vinson[MVP]
John Vinson - 29 Dec 2004 20:01 GMT
>My apology. As too often happens I did not explain myself properly.
>
[quoted text clipped - 3 lines]
>
>Now I need to be left with unique addresses in the easiest way.

Please post the SQL view of this query. Since I don't have any idea
how the query is structured or what it contains, it's a bit difficult
to give advice! Is its Unique property set? Does it contain fields
other than the email address? If you have two email addresses for the
same person, how can you determine which one to use?

                 John W. Vinson[MVP]
Robin Chapple - 29 Dec 2004 21:25 GMT
I am using three queries.

First to delete the existing records from the table.

The second to append primary email addresses.

The third to append secondary email addresses.

The database has only one field.

I have set the property to " No duplicates " which seems to achieve
the object. Is this an acceptable answer?

Duplication of addresses occurs for a variety of reasons which are
beyond my control. I just need unique addresses.

Thanks,

Robin Chapple

>Please post the SQL view of this query. Since I don't have any idea
>how the query is structured or what it contains, it's a bit difficult
[quoted text clipped - 11 lines]
>>
>>Now I need to be left with unique addresses in the easiest way.
John Vinson - 29 Dec 2004 23:15 GMT
>I have set the property to " No duplicates " which seems to achieve
>the object. Is this an acceptable answer?

Sure. It's working then? You have no further difficulties?

                 John W. Vinson[MVP]
Robin Chapple - 30 Dec 2004 08:27 GMT
Yes John,

If that is an acceptable method.

Thanks,

Robin

>>I have set the property to " No duplicates " which seems to achieve
>>the object. Is this an acceptable answer?
>
>Sure. It's working then? You have no further difficulties?
>
>                  John W. Vinson[MVP]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.