Results 1 to 4 of 4
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    316

    Accumulating A Value from Mulitple Tables

    How to I accumulate a value that exists in multiple tables. Example, I want to determine inventory on hand for a particular Partnumber based on InventoryAdjustments (InvAdj), Receipts (InvReceipts), and Sales (InvSales). Each table contains a date, Partnumber, and Quantity (Qty). The Qty in InvAdj whose date is the Fiscal Year Start Date represents the quantity from the last Physical Inventory. How can I write a query that will go through all tables from the Fiscal Year Start Date for a particular Partnumber and return the total Qty of all three tables. The total should ADD Qty from InvAdj and InvReceipts and SUBTRACT Qty from InvSales.



    Thanks, Eddie

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You might want to take a look at Allen Browne's site and his discussion of Inventory Control: Quantity on Hand

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    316
    Thanks. I was looking for a query but the Function will work as well or better.

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome.

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

Similar Threads

  1. Mulitple Group By in Query
    By rooster in forum Queries
    Replies: 4
    Last Post: 08-25-2012, 04:58 PM
  2. Search mulitple fields
    By wgroenewald in forum Forms
    Replies: 1
    Last Post: 02-23-2012, 11:46 AM
  3. Query Can it be Done? Mulitple finds
    By Canadiangal in forum Queries
    Replies: 3
    Last Post: 02-28-2010, 03:45 PM
  4. Accumulating Dates
    By blcknite in forum Access
    Replies: 2
    Last Post: 12-23-2009, 09:35 PM
  5. Condense Mulitple Records
    By jquickuk in forum Queries
    Replies: 1
    Last Post: 08-10-2009, 08:43 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