Results 1 to 3 of 3
  1. #1
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22

    Query that creates a field for each of the 12 months


    My table has a fields for Month, Year and Case shipments, with over 3 million rows. I am trying to build a query that creates a field for each individual month so I can view the sales trend on a horizontal bases.

    So far I am able to generate a field for January (Month 1) based on this query design but unable to add a field
    Attached Thumbnails Attached Thumbnails Query 1 design.PNG   Query1.png  
    Last edited by RobFlott; 11-07-2017 at 05:55 PM. Reason: Solved

  2. #2
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    Further to my previous post; to clarify in the query I tried to use a similar 'builder' to create a field for February using [Date_MM ]= 2 but nothing gets reported:

    Can anyone steer me in the right direction?

    TIA

  3. #3
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    Thanks, I figured out how to use a crosstab query.

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

Similar Threads

  1. Replies: 13
    Last Post: 06-11-2015, 06:41 PM
  2. Replies: 3
    Last Post: 02-23-2014, 02:06 PM
  3. Formatting field to express months
    By sgarfunkel in forum Database Design
    Replies: 1
    Last Post: 09-18-2013, 11:09 AM
  4. Append Query Creates a New Record
    By burrina in forum Queries
    Replies: 5
    Last Post: 01-01-2013, 07:27 PM
  5. Form that runs query and creates reports
    By Valeda in forum Forms
    Replies: 2
    Last Post: 05-04-2006, 07:01 AM

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