I can think of 2 or 3 ways to do that.
(1) In Query Design View on your Crosstab Query, you could right-click
on the upper window and open the Properties sheet. Specify the desired
headings, in order, in the "Column Headings" property. Or, in the SQL,
specify the headings in the PIVOT clause.
Disadvantage: You'll have to redo this as new months appear. This
Query may be complex enough that it will be a pain to maintain.
(2) In the Query on which your Crosstab Query is based, prefix a
(calculated) sequential number to each date, and use this calculated
field for the column headings. Example: "(1) Feb 06", "(2) Jan 06",
"(3) Dec 05", etc.
Disadvantages: Column headers are longer than you might want. The
extra numbers are ugly, since they're not needed by the user.
(3) Base a Select Query on the results of your Crosstab Query and put
the fields in the order that you want to use. For example, the [Feb 06]
field will precede the [Jan 06] field.
Disadvantage: You'll have to redo this one each month, too, as in
choice (1), but it'll be simpler than the Crosstab Query to maintain --
mostly just a list of fields, in the order you choose.
-- Vincent Johns <
[email protected]>
Please feel free to quote anything I say here.