newbie question-unique records

H

Holstein

Anyone willing to help a newbie out. I made a query that
is pulling duplicate entries from tables. Is there a
simple way to get only unique records. I tried changing
UniqueRecords to yes in the query properties. That didn't
work. Thanks in advance.
 
M

mark

Try adding the keyword "DISTINCT" at the beginning of your
select statement, i.e., Select Distinct ...
 
J

John Vinson

Anyone willing to help a newbie out. I made a query that
is pulling duplicate entries from tables. Is there a
simple way to get only unique records. I tried changing
UniqueRecords to yes in the query properties. That didn't
work. Thanks in advance.

The Unique Values property checks all the fields you're including in
the query; if you include a Primary Key value then it is (by
definition) different in each record, so all the records are unique.

Could you perhaps post the SQL of your query and an example of the
duplicate data?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top