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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DISTINCTROW 2

Status
Not open for further replies.

BNPMike

Technical User
Sep 17, 2001
1,818
GB
I have a table which is an intersection entity ie it links two other tables. I was interested in seeing how many of one of the linked datatypes there was so I added DISTINCTROW to a query that only had the relevant field. The query returned all records despite the fact that many of the rows displayed were identical.

Help returned no matching entries for Distinct or Distinctrow. I found this on Microssoft:


It says this
NOTE: Using DISTINCTROW in a query has no effect unless the query contains two or more joined tables

Does that sound right to you? Has this caused you problems in the past?
 
I always use Select Distinct which as far as I know works

Hope this helps
Hymn
 
You seem to be absolutely right...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top