G
Guest
Two questions: See query text belo
1: "Can't order by aggregate field" I want to sort my crosstab results by the row totals. How can I do that
2: My column headers are dates and they display for example 10/1/04, 11/1/04, 9/1/04 instead of in sequential order from left to right. Can I force a sequential order
Query:
TRANSFORM Sum(qryTmp.bps) AS SumOfbp
SELECT qryTmp.ticker, Sum(qryTmp.bps) AS [Total Of bps
FROM qryTm
GROUP BY qryTmp.ticke
PIVOT Format(qryTmp.ddate,'Short Date')
Thanks for any help
1: "Can't order by aggregate field" I want to sort my crosstab results by the row totals. How can I do that
2: My column headers are dates and they display for example 10/1/04, 11/1/04, 9/1/04 instead of in sequential order from left to right. Can I force a sequential order
Query:
TRANSFORM Sum(qryTmp.bps) AS SumOfbp
SELECT qryTmp.ticker, Sum(qryTmp.bps) AS [Total Of bps
FROM qryTm
GROUP BY qryTmp.ticke
PIVOT Format(qryTmp.ddate,'Short Date')
Thanks for any help