Need correct order for month names in cross tab

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Hi All,

I need the columns of a cross tab query to be headed by the month name but
ordered correctly from left to right.

Any pointers on how to do this please?

Regards.
Bill.
 
Hi All,

I need the columns of a cross tab query to be headed by the month name but
ordered correctly from left to right.

Any pointers on how to do this please?

Regards.
Bill.

Set the query's Header property to

"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"

or to the full month name if that's what you're using.

John W. Vinson[MVP]
 
Open your query in the SQL view and edit last line based on your months - JAN
or January.
PIVOT xxxxx;
to read
PIVOT xxxxx IN("JAN", "FEB", "MAR", "APR" ...... , "NOV",
"DEC");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top