OrderBy in a Crosstab Query?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to sort months in a cross tab query so they appear in the right order
vs alpha numeric.. Can I use OrderBy command? If yes, where do I input that
commend
 
This gives month-year order, maybe it will help.

TRANSFORM Count(EventSched.X) AS CountOfX
SELECT EventSched.Event, Count(EventSched.X) AS [Total Of X]
FROM EventSched
GROUP BY EventSched.Event
PIVOT Format([Appointment],"mmyyyy") & " " & Format([Appointment],"mmm -
yyyy");
 

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