Eliminate Duplicated

W

W. Guy Delaney

I have a querry, which when I run it, displays a duplicate of every record
in my database. How can I eliminate duplicated in this querry?
 
R

Roger Carlson

That's hard to say for sure. There could be a number of reasons. The
easiest thing to try would be to add the DISTINCT predicate to you SQL
statement:

SELECT DISTINCT ... <field list>...

If that doesn't work, come back with a description of your tables, fields
and the sql of your query.
 
D

Daniel Pineault

It depends on how your query is built.

Is it returning duplicates because there are truly multiple records with the
same information (which would indicate a non-normalized database) or is it
because of the way your query is setup.

In certain case performing a Group By can eliminate duplicates. That said,
for us to properly help you, post your query's sql statement.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 

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

Similar Threads

Design Problem-Where to get started? 1
Help Me Fix Min Max Avg Querry 1
Data Source 4
Delete duplicate records in a table 1
Date Serial Problem 2
Need help on Iff Statement 1
Dupplicate Data 3
Too many forms? 3

Top