Results 1 to 6 of 6
  1. #1
    yohansetiawan is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    24

    Question Calculating Current Stock in Inventory/Warehouse

    Hello,
    Here's the things I've got.
    I created database that contain these tables:
    - Products
    - Orders
    - SubOrders
    - Inventory/Warehouse

    Here's the problem, I want to calculate my current stock in my warehouse sort by product I've got.
    How do I do that?
    In case I've already make some queries to calculate this current stock but I got stuck because these queries can only calculate my total IN and OUT from my warehouse separately. I tried to make another query that can calculate IN&OUT together but I failed to do that.
    My "Inventory/Warehouse" table is things that IN of my warehouse (so that's addition)
    My "Orders" and "SubOrders" tables are things OUT of my warehouse (this is removal)

    Could someone help me to make "Inventory CURRENT STOCK" for me?
    I really confused with this.
    Here's I've attached my database.

    n.b. I already checked "Inventory" template from microsoft office itself, but that isn't that I want.



    THIS IS THE SOLUTION
    Quote Originally Posted by pbaldy View Post
    Start a new query. Add the products table and you IN and OUT queries to the grid. Click/drag to draw lines between the Product field in the products table and the product field in each of the queries. Right-click on the resulting join line to edit it. Choose the appropriate selection. Add the desired fields from the table and queries to the grid and run the query.
    Last edited by yohansetiawan; 03-14-2012 at 09:06 PM.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You create a query starting with your products table, and LEFT JOIN each of your other 2 queries to that table. That should get you every product, and any in's and/or out's they've had.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    yohansetiawan is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    24
    I really don't understand to do that, there is my database in my first post though.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Start a new query. Add the products table and you IN and OUT queries to the grid. Click/drag to draw lines between the Product field in the products table and the product field in each of the queries. Right-click on the resulting join line to edit it. Choose the appropriate selection. Add the desired fields from the table and queries to the grid and run the query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    yohansetiawan is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    24
    it works...!!!!
    thank you so much pbaldy
    REALLY APPRECIATE YOUR HELP!!!

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help, and welcome to the site!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Warehouse location adjustment
    By tj63069 in forum Database Design
    Replies: 5
    Last Post: 01-11-2012, 06:19 PM
  2. Fair Value of Stock
    By Scorpio11 in forum Access
    Replies: 1
    Last Post: 01-04-2011, 10:45 AM
  3. Stock-take
    By Cullen1109 in forum Access
    Replies: 12
    Last Post: 10-04-2010, 11:16 AM
  4. Product / Stock Management
    By dale.90 in forum Access
    Replies: 1
    Last Post: 09-30-2010, 11:08 AM
  5. Inventory/Warehouse Control
    By Maker in forum Access
    Replies: 3
    Last Post: 09-01-2010, 10:46 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