L
Larry
This is what I would call a parts list query. The table
queried looks like:
Ref.Des. Part No. Value
-------- -------- -----
R1 ABC 50
R2 ABD 100
R3 ABC 200
R4 ABC 50
Note that there is a duplicate combination: ABC 50, which
occurs for both Ref. Des. entries R1 and R4.
The total query I am after would group the Part No. and
Value fields, and concatenate all the Ref. Des. entries
that are found in a unique group on those fields. Thus
the output would be:
Ref.Des. Part No. Value
-------- -------- -----
R1, R4 ABC 50
R2 ABD 100
R3 ABC 200
If, in the total query, I select:
Ref.Des. Part No. Value
-------- -------- -----
COUNT GROUP BY GROUP BY
Then I get the output:
Count Ref.Des. Part No. Value
-------------- -------- -----
2 ABC 50
1 ABD 100
1 ABC 200
I need to know how go get from this to the list of Ref.
Des. entries, in addition to or instead of the COUNT.
Larry
queried looks like:
Ref.Des. Part No. Value
-------- -------- -----
R1 ABC 50
R2 ABD 100
R3 ABC 200
R4 ABC 50
Note that there is a duplicate combination: ABC 50, which
occurs for both Ref. Des. entries R1 and R4.
The total query I am after would group the Part No. and
Value fields, and concatenate all the Ref. Des. entries
that are found in a unique group on those fields. Thus
the output would be:
Ref.Des. Part No. Value
-------- -------- -----
R1, R4 ABC 50
R2 ABD 100
R3 ABC 200
If, in the total query, I select:
Ref.Des. Part No. Value
-------- -------- -----
COUNT GROUP BY GROUP BY
Then I get the output:
Count Ref.Des. Part No. Value
-------------- -------- -----
2 ABC 50
1 ABD 100
1 ABC 200
I need to know how go get from this to the list of Ref.
Des. entries, in addition to or instead of the COUNT.
Larry