K
K Heath
Hello all
I am having issues with the DISTINCT keyword in access97 -
hoping someone can offer some assistance.
I have a table called "data". I want to select
fields "email", "title", "initial" and "last name" from
the table. Duplicates exist such that the is the
same, but the rest of the fields aren't. I need records
with unique email addresses - IE only 1 of each duplicate
(email) record in addition to all the unduplicated records.
I realise that i can't use DISTINCT, DISTINCTROW,
UniqueRecord Property or UniqueValue property in my
sql/query because they will form a unique record given all
the output fields of the query.
It doesn't matter which record of the duplicate record set
is output, just that only 1 needs to be output.
How can I create this query?
Thanks in advance.
Kris
I am having issues with the DISTINCT keyword in access97 -
hoping someone can offer some assistance.
I have a table called "data". I want to select
fields "email", "title", "initial" and "last name" from
the table. Duplicates exist such that the is the
same, but the rest of the fields aren't. I need records
with unique email addresses - IE only 1 of each duplicate
(email) record in addition to all the unduplicated records.
I realise that i can't use DISTINCT, DISTINCTROW,
UniqueRecord Property or UniqueValue property in my
sql/query because they will form a unique record given all
the output fields of the query.
It doesn't matter which record of the duplicate record set
is output, just that only 1 needs to be output.
How can I create this query?
Thanks in advance.
Kris