I've got a table
Dept_Info
ID...........Dept.........DeptGroup.....Station
IA702.....PC............Plant 1...........N1
MA702....PC............Plant 1...........S1
IP000.....PT.............Paint..............P1
etc...
and a query (Costs) that returns
DeptGroup......month
Plant 1............value
Paint...............value
etc...
I run this query:
Select distinctRow(Costs.DeptGroup), [Dept_Info].[Dept], Costs.Value
FROM Costs left JOIN [Dept_Info] on Costs.DeptGroup = [Dept_Info].[DeptGroup];
I get
DeptGroup.....Dept....Value
Plant 1...........PC.......Value
Plant 1...........PC.......Value repeated
Paint..............PT........Value
etc...
Can I get this to be
Plant 1......PC.......Value
Paint.........PT........Value
etc...
no repeats......??????
I've turned myself in circles on this one. If you want to know 'Why' I need to do this.. just ask...
Thanks
PB
Dept_Info
ID...........Dept.........DeptGroup.....Station
IA702.....PC............Plant 1...........N1
MA702....PC............Plant 1...........S1
IP000.....PT.............Paint..............P1
etc...
and a query (Costs) that returns
DeptGroup......month
Plant 1............value
Paint...............value
etc...
I run this query:
Select distinctRow(Costs.DeptGroup), [Dept_Info].[Dept], Costs.Value
FROM Costs left JOIN [Dept_Info] on Costs.DeptGroup = [Dept_Info].[DeptGroup];
I get
DeptGroup.....Dept....Value
Plant 1...........PC.......Value
Plant 1...........PC.......Value repeated
Paint..............PT........Value
etc...
Can I get this to be
Plant 1......PC.......Value
Paint.........PT........Value
etc...
no repeats......??????
I've turned myself in circles on this one. If you want to know 'Why' I need to do this.. just ask...
Thanks
PB