E
Erik
I am tring to find duplicate records and i have that working just fine but i
would like to take the set_version and within the duplicate records only show
the records that are not duplicated under the set_version column. I hope this
makes sense. any help would be great. I have posted the SQL for my query.
SELECT DISTINCTROW [BILLING LOG].DIVISION, [BILLING LOG].COMMUNITY, [BILLING
LOG].LOT, [BILLING LOG].SET_VERSION, [BILLING LOG].[DATE COMPLETE], [BILLING
LOG].MEMO
FROM [BILLING LOG]
WHERE ((([BILLING LOG].DIVISION) In (SELECT [DIVISION] FROM [BILLING LOG] As
Tmp GROUP BY [DIVISION],[COMMUNITY],[LOT] HAVING Count(*)>1 And [COMMUNITY]
= [BILLING LOG].[COMMUNITY] And [LOT] = [BILLING LOG].[LOT])))
ORDER BY [BILLING LOG].DIVISION, [BILLING LOG].COMMUNITY, [BILLING LOG].LOT;
would like to take the set_version and within the duplicate records only show
the records that are not duplicated under the set_version column. I hope this
makes sense. any help would be great. I have posted the SQL for my query.
SELECT DISTINCTROW [BILLING LOG].DIVISION, [BILLING LOG].COMMUNITY, [BILLING
LOG].LOT, [BILLING LOG].SET_VERSION, [BILLING LOG].[DATE COMPLETE], [BILLING
LOG].MEMO
FROM [BILLING LOG]
WHERE ((([BILLING LOG].DIVISION) In (SELECT [DIVISION] FROM [BILLING LOG] As
Tmp GROUP BY [DIVISION],[COMMUNITY],[LOT] HAVING Count(*)>1 And [COMMUNITY]
= [BILLING LOG].[COMMUNITY] And [LOT] = [BILLING LOG].[LOT])))
ORDER BY [BILLING LOG].DIVISION, [BILLING LOG].COMMUNITY, [BILLING LOG].LOT;