Results 1 to 2 of 2
  1. #1
    kwooten is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    255

    Group by "Month"

    I am trying to group by month. My query table is named pay_per which is where the report is getting data. When I group by "month" it puts April first. How can I make the report realize "pay_per" is month format and January should be first?

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    ah - well blame this on those crazy humans that don't alphabetize their months correctly.... you need to order by the numerical value of the month, rather than the alpha. How you do that will depend on what how your data is currently organized but probably you have a date field and can pull out just the Month( ) into a calculated field in a query and use if for ordering.....

    in report have the grouping on the numerical value - - but also include the Alpha field - - and then make the numerical field not visible.....

    Hope it helps.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Is there such thing as "month and year as digit"
    By beejay101 in forum Queries
    Replies: 1
    Last Post: 05-16-2011, 11:28 PM
  2. Two Different "Group By"'s in the Same Query
    By Lady_Jane in forum Queries
    Replies: 3
    Last Post: 04-08-2011, 11:31 AM
  3. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM
  4. aSTR = Dir("C:\*.*") >> "Type Mismatch"
    By JGrant in forum Programming
    Replies: 1
    Last Post: 03-28-2009, 05:17 AM
  5. "Previous Month" button
    By allochthonous in forum Programming
    Replies: 3
    Last Post: 09-10-2006, 12:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums