By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

Crosstab Column Order

P: n/a

I'm using a crosstab query to export data to an Excel spreadsheet for
further processing. The source of the data for the crosstab is a
temporary table. The temp table has 3 fields:
* MonthYear (row header in the crosstab)
* CriteriaName (column header in the crosstab)
* CriteriaValue (value in the crosstab)

There are only 6 distinct values in CriteriaName, two of which are
"Total1" and "Total2". The other 4 are dependant on the underlying
data and will change.

I want the "Total1" and "Total2" fields to be either the first two or
last 2 fields in the crosstab query. How do I accomplish this? I
don't think I can use the query's ColunmHeading properties since the 4
"variable" named columns aren't know in advance.


Jan 15 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.