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

Crosstab Column Order

P: n/a
Tom
Hi:

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.

Thanks
Tom

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.