Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Records double in Query

Status
Not open for further replies.

lallen

Technical User
May 16, 2001
2
US
I created a Query which is pulling from 3 tables. I use a criteria to filter records but when I open the query all the records double.
any ideas on how to prevent this?
 
You can use Select Distinct clause to eliminate duplicates. The doubling occurs because one of the tables contains two records that match the join column on one of the other tables. You may want to verify that the relationships betwen the tables are defined properly in the join properties of the query. Terry

;-) The single biggest challenge to learning SQL programming is unlearning procedural programming. -Joe Celko

SQL Article links:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top