P
Phil
SELECT
(SELECT COUNT(*)
FROM TOP100-RL-ReportStep2 Q1
WHERE Q1.SumOfSumOfship_qty < Q.SumOfSumOfship_qty
OR(Q1.SumOfSumOfship_qty = Q.SumOfSumOfship_qty AND Q1.short_desc >
Q.short_desc))AS RANK,*
FROM TOP100-RL-ReportStep2 AS Q
ORDER BY SumOfSumOfship_qty DESC, short_desc, item_id;
Access is pointing to the inner SELECT statement, (seperated for
readability,) as the culprit. I can't find it. Everythign was
cut&pasted, so I know speling of field names is correct.
Any Ideas?
Phil
(SELECT COUNT(*)
FROM TOP100-RL-ReportStep2 Q1
WHERE Q1.SumOfSumOfship_qty < Q.SumOfSumOfship_qty
OR(Q1.SumOfSumOfship_qty = Q.SumOfSumOfship_qty AND Q1.short_desc >
Q.short_desc))AS RANK,*
FROM TOP100-RL-ReportStep2 AS Q
ORDER BY SumOfSumOfship_qty DESC, short_desc, item_id;
Access is pointing to the inner SELECT statement, (seperated for
readability,) as the culprit. I can't find it. Everythign was
cut&pasted, so I know speling of field names is correct.
Any Ideas?
Phil