Results 1 to 3 of 3
  1. #1
    NateSmith is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    6

    Shipping by Month

    Hi Everyone,

    I'm trying to write a basic query. I haven't done this in a few years so I seem to have forgot most of what I once knew.

    For each month of the year, I want to have two columns. 1) What how many units of a product were ordered and B) how many units of that product they shipped.

    On the left most column, I will have all of the item numbers.

    I know how to do it with one month--I just group by item number and sum. However, if I go to add another month in the query, I need to link the two tables (I have a table for each month).

    How would I go about having two columns per month for all items?

    Thanks!

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    You should ONLY have One table for Months. In your Products table you need a MonthID Number field and then link the Products table to the Months table.
    Are you trying to have Multiple Months in the same query? Below is code for Current Month
    Format(DateSerial(Year(Date()),Month(Date()),Day(D ate())),"mmmm ")

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    What does it mean to have a table for each month?

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

Similar Threads

  1. Replies: 1
    Last Post: 10-07-2012, 12:20 PM
  2. Shipping database with references?
    By Drak in forum Programming
    Replies: 1
    Last Post: 01-27-2012, 12:21 AM
  3. Replies: 2
    Last Post: 01-13-2012, 07:41 AM
  4. Creating a load list for shipping
    By Reaper in forum Access
    Replies: 9
    Last Post: 11-13-2011, 07:52 AM
  5. International Shipping Company Database Design
    By chaienbungbu in forum Database Design
    Replies: 1
    Last Post: 02-13-2010, 01:31 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