sierralightfoot said:
Please see below
:
sierralightfoot wrote:
the select distinct hides identical records. I want to hide records that have
a duplicate field, ie:[email1]
:
On Wed, 7 Feb 2007 17:33:00 -0800, sierralightfoot
I am using a query as a mail merge source. I have some e-mail address that
are duplicates and I want them to be maintained that way in the table. Is
there an expression I can use in the creteria of the query that says return
duplicate values only once.
"Hiding records that have duplicates" is different than "showing
duplicate records only once." (^:
Speaking to the former, try creating an aggregate query to obtain a
Count on email1. In the criterion for this field place "1" (without
quotes).
Let's go back to SELECT DISTINCT.
Simple query:
Add the table that has emails
Add the email field, and nothing else
Optionally, sort this Ascending (makes visual detection of duplicates
easier)
Select View | Properties
In the Query Properties dialog, change "Unique Values" to Yes
Run
Is this what you are after?