BLeslie88
B Leslie
- Local time
- Today, 23:23
- Joined
- May 9, 2002
- Messages
- 228
Listen up... This works, but worries me. If anyone understands this please let me know if it is normal and / or ok..?
Query:
TRANSFORM Sum([tblOPOP].[Qty]) AS data
SELECT [tblOPOP].[Div], [tblOPOP].
Query:
TRANSFORM Sum([tblOPOP].[Qty]) AS data
SELECT [tblOPOP].[Div], [tblOPOP].
Code:
FROM tblOPOP
WHERE Mid([tblOPOP].[Period],3,4) Between "0349" and "0352"
GROUP BY [tblOPOP].[Div], [tblOPOP].[Code]
PIVOT (Mid([tblOPOP].[Period],3,4) Between "0349" and "0352");
Results:
Div Code -1
B 23070007 420
Now, the results are good but alas the -1 field title bothers me and I can't apparently change it. I want these results, and the code works... Is this ok, does anyone know..?
~~~~~ :confused: :confused: :confused: ~~~~~