[Last Call] Learn how to a build a cloud-first strategyRegister Now


Sorting Crosstab Columns

Posted on 2008-11-17
Medium Priority
Last Modified: 2012-05-05
I have a crosstab that has dates across the collumns.  I am trying to figure out a way to sort the columns by date and am having some difficulty. They are sorting alphabetically.  

I have tried the below 3 in addition to some other versions, but still the sorting is from low to high.

MonthName(Month({Rpt453;1.POST_DATE}),TRUE) & ' ' & TOTEXT(Year({Rpt453;1.POST_DATE}),0,'')
//TOTEXT(Month({Rpt453;1.POST_DATE}),0,'')&'/' & TOTEXT(Year({Rpt453;1.POST_DATE}),0,'')
//TOTEXT(Year({Rpt453;1.POST_DATE}),0,'') & TOTEXT(Month({Rpt453;1.POST_DATE}),0,'')

Thanks for the ideas.
Question by:gdspeare
1 Comment
LVL 101

Accepted Solution

mlmcc earned 1000 total points
ID: 22978269
Is the cross tab grouping on the date field?
If so simply specify group by month

You can format the field in the cross tab to show it as desired.


Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question